Hi!
There's a little bug in file:
hcl-dx-experience-api-sample-ui-0.1.0.20200304-0811\src\app\services\contentServices.ts
at row 38:
row.category.map((item: ICategory) => {
if (item.scheme.indexOf('workflowState') > -1) {
status = item.term;
}
return item;
});
In the row object there isn't a category object but categories objects.
Moreover item.scheme doesn't exist.
So I wrote this workaround:
const catArray = [] as any;
Object.keys(row.categories).map(function(key){
catArray.push({[key]:row.categories[key]})
return catArray;
});
catArray.map((item: ICategory) => {
if (!item.hasOwnProperty('workflowState')) {
status = item.term;
}
return item;
});
Bye!