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 228: Line 228:
             dct.functions = [];
             dct.functions = [];


             // functionsData.forEach((value, key) => {
             functionsData.forEach((value, key) => {
            //    if (value[FUNC_KEY].some(func =>))
                if (value[FUNC_KEY].some(
             // });
                    func => dctResult.printouts[func][0] && dctResult.printouts[func][0].fulltext.toLowerCase() === 'yes'
                )) {
                    dct.functions.push(key);
                }
             });


             // if (hasFunction(dctResult, searchFunctions)) dct.functions.push(FN_SEARCH);
             // if (hasFunction(dctResult, searchFunctions)) dct.functions.push(FN_SEARCH);

Revision as of 15:09, 30 August 2022

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