Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 93: | Line 93: | ||
/** | /** | ||
* @param {DCT} dct | * @param {DCT} dct | ||
* @param { | * @param {DCT} filterState | ||
*/ | */ | ||
function dctFilter(dct, filterState) { | function dctFilter(dct, filterState) { | ||
return dct.dataSources.some( | console.log('Filter:', table.getFilters()) | ||
return dct.dataSources.some(source => filterState.dataSources.includes(source)); | |||
} | } | ||
Revision as of 14:03, 8 June 2022
Development verstion of the DCT List.
Not ready for production!