Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 402: | Line 402: | ||
// If filterState has a category but subfunctions array is empty, we only care about the category. | // If filterState has a category but subfunctions array is empty, we only care about the category. | ||
const emptyCategories = Array.from(filterState.functions) | const emptyCategories = Array.from(filterState.functions) | ||
− | console.log(emptyCategories) | + | console.log(emptyCategories.flat()) |
return true | return true | ||
Line 452: | Line 452: | ||
}); | }); | ||
filterState.functions = funcOpts; | filterState.functions = funcOpts; | ||
+ | // TEMPORARY! Restore original functionality. Delete later | ||
+ | // filterState.functions = | ||
} | } | ||
Revision as of 18:03, 18 November 2022
Development verstion of the DCT List.
Not ready for production!