Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
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 16:03, 9 June 2022
Development verstion of the DCT List.
Not ready for production!