Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
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 15:49, 12 July 2022

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