workaround for tsonld error when response list is empty
@@ -101,6 +101,8 @@ export class DataMarketplaceService {
'/master/adapters'
)
.map(response => {
+ if(response['@graph'] === undefined) return [];
+ if(response == []) return response;
const res = this.getTsonLd().fromJsonLdType(
response,
'sp:AdapterDescriptionList'
