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 44: Line 44:
                 dct.url = dctResponse.query.results[dctKey].fullurl;
                 dct.url = dctResponse.query.results[dctKey].fullurl;
                 dct.dataSources = dctResponse.query.results[dctKey].printouts['Data Sources'].map(src => src.fulltext);
                 dct.dataSources = dctResponse.query.results[dctKey].printouts['Data Sources'].map(src => src.fulltext);
                 dct.logo = dctResponse.query.results[dctKey].printouts['Image'][0] ? dctResponse.query.results[dctKey].printouts['Image'][0].fulltext : '';
                 dct.logo = dctResponse.query.results[dctKey].printouts['Image'][0] ? dctResponse.query.results[dctKey].printouts['Image'][0].fulltext : undefined;
                 return dct;
                 return dct;
             })
             })

Revision as of 11:33, 7 June 2022

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