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 390: Line 390:
                 dct.businessModel = dctResult.printouts[BUSINESS_PROP].map(bModel => bModel.fulltext);
                 dct.businessModel = dctResult.printouts[BUSINESS_PROP].map(bModel => bModel.fulltext);
                 dct.logo = dctResult.printouts[IMG_PROP][0] ? getFilePath(dctResult.printouts[IMG_PROP][0].fulltext) : undefined;
                 dct.logo = dctResult.printouts[IMG_PROP][0] ? getFilePath(dctResult.printouts[IMG_PROP][0].fulltext) : undefined;
                 if (dctResult.printouts[DMO_PROP][0]) {
                 dct.usedByDmo = dctResult.printouts[DMO_PROP][0] === 't' ? 'yes' : 'no';   // not quite, but we only care about yes
                    dct.usedByDmo = dctResult.printouts[DMO_PROP][0] === 't' ? 'yes' : dctResult.printouts[DMO_PROP][0];
 
                }


                 dct.functions = new Map();
                 dct.functions = new Map();

Revision as of 16:10, 7 December 2022

Current version of the DCT List.
Not ready for production!