Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 80: | Line 80: | ||
const dataSources = data[0]; | const dataSources = data[0]; | ||
const dcts = data[1]; | const dcts = data[1]; | ||
const filterHtml = dataSources.reduce((prev, curr) => { | |||
return prev + '<img src="' + curr.image + '">' | |||
}, ''); | |||
document.getElementById('dct-filters').innerHTML = filterHtml; | |||
console.log(data) | console.log(data) |
Revision as of 15:43, 7 June 2022
Development verstion of the DCT List.
Not ready for production!