Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 539: | Line 539: | ||
groupedSources.forEach((group, gIndex) => { | groupedSources.forEach((group, gIndex) => { | ||
− | if (gIndex === groupedSources.length - 1) { out += '<div class="sources-collapse">'; } | + | // if (gIndex === groupedSources.length - 1) { out += '<div class="sources-collapse">'; } |
out += group.sources.reduce((prev, curr) => { | out += group.sources.reduce((prev, curr) => { | ||
const idx = val.findIndex(src => src === curr.name); | const idx = val.findIndex(src => src === curr.name); | ||
Line 555: | Line 555: | ||
if (gIndex === groupedSources.length - 1) { | if (gIndex === groupedSources.length - 1) { | ||
// out += '<span class="sources-collapse-toggle"></span>'; | // out += '<span class="sources-collapse-toggle"></span>'; | ||
− | out += '</div>'; | + | // out += '</div>'; |
} | } | ||
}); | }); |
Revision as of 14:01, 13 September 2022
Development verstion of the DCT List.
Not ready for production!