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 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 16:03, 18 November 2022

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