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 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.flat(2))
             console.log(emptyCategories)
             return true
             return true


Line 451: Line 451:
                     }
                     }
                 });
                 });
                 filterState.functions = funcOpts;
                 // filterState.functions = funcOpts;
                 // TEMPORARY! Restore original functionality. Delete later
 
                 // TEMPORARY! Restores original functionality. Delete after fixing the 'dataFiltered' hook.
                 filterState.functions = Array.from(funcOpts).flat(2);
                 filterState.functions = Array.from(funcOpts).flat(2);
             }
             }

Revision as of 17:08, 18 November 2022

Development verstion of the DCT List.
Not ready for production!