Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 684: Line 684:
 
                     // If no subfunctions are selected, deactivate the category. Activate otherwise.
 
                     // If no subfunctions are selected, deactivate the category. Activate otherwise.
 
                     const checkedSubs = Array.from(subfunctions).filter(sub => sub.checked).length;
 
                     const checkedSubs = Array.from(subfunctions).filter(sub => sub.checked).length;
                     if (length > 0) { category.checked = true; } else { category.checked = false; }
+
                     if (checkedSubs > 0) { category.checked = true; } else { category.checked = false; }
 
                 }
 
                 }
  

Revision as of 17:03, 18 November 2022

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