Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 333: | Line 333: | ||
.sort(([keyA,], [keyB,]) => sortOrder.indexOf(keyA) - sortOrder.indexOf(keyB)) | .sort(([keyA,], [keyB,]) => sortOrder.indexOf(keyA) - sortOrder.indexOf(keyB)) | ||
.forEach(([categoryName, results]) => { | .forEach(([categoryName, results]) => { | ||
console.log(results.printouts) | |||
functionsData.set( | functionsData.set( | ||
categoryName, | categoryName, | ||
Line 361: | Line 362: | ||
console.log('functions', functionsData) | console.log('functions', functionsData) | ||
const dctList = Object.keys(dctResponse.query.results).map(dctName => { | const dctList = Object.keys(dctResponse.query.results).map(dctName => { | ||
const dctResult = dctResponse.query.results[dctName]; | const dctResult = dctResponse.query.results[dctName]; |
Revision as of 16:07, 17 November 2022
Development verstion of the DCT List.
Not ready for production!