User:DreamRimmer/adminnewslettertools.js: Difference between revisions

Content deleted Content added
fixes
uniqueKey
Line 918:
rfcs.forEach(rfc => {
const uniqueKey = if (rfcMap.has(`${rfc.url)) }|${rfc.title}`;
if const existing = (rfcMap.gethas(rfc.urluniqueKey);) {
const existing = rfcMap.get(uniqueKey);
if (!existing.topics.includes(rfc.topic)) {
existing.topics.push(rfc.topic);
}
} else {
rfcMap.set(rfc.urluniqueKey, {
...rfc,
topics: [rfc.topic]