Difference between revisions of "Widget:DCTList"
From LINKS Community Center
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 12:33, 7 June 2022
Development verstion of the DCT List.
Not ready for production!