Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 84: | Line 84: | ||
const hasFunction = (dctResult, subfunctions) => subfunctions.some(func => { | const hasFunction = (dctResult, subfunctions) => subfunctions.some(func => { | ||
const printoutResult = dctResult.printouts[func]; | const printoutResult = dctResult.printouts[func]; | ||
− | return printoutResult[0] && printoutResult[0].fulltext.toLowerCase() === 'yes' | + | return printoutResult && printoutResult[0] && printoutResult[0].fulltext.toLowerCase() === 'yes' |
}); | }); | ||
Revision as of 17:03, 9 June 2022
Development verstion of the DCT List.
Not ready for production!