Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 390: Line 390:
                         const val = cell.getValue();
                         const val = cell.getValue();
                         let out = '';
                         let out = '';
                        let x = groupedSources.reduce((acc, curr) => acc.concat(curr.sources), []);
                        console.log(x)
                         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">'; }

Revision as of 14:49, 12 July 2022

Development verstion of the DCT List.
Not ready for production!