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 93: Line 93:
     /**  
     /**  
     * @param {DCT} dct
     * @param {DCT} dct
     * @param {Partial<DCT>} filterState
     * @param {DCT} filterState
     */
     */
     function dctFilter(dct, filterState) {
     function dctFilter(dct, filterState) {
         return dct.dataSources.some(src => filterState.dataSources.includes(src));
        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!