Skip to content
Snippets Groups Projects
Commit 6576f9ec authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #14383 TIME 0:05 fix js error

parent 1bf9975f
No related branches found
No related tags found
No related merge requests found
...@@ -100,11 +100,13 @@ export class TechnicalInformationComponent implements OnInit { ...@@ -100,11 +100,13 @@ export class TechnicalInformationComponent implements OnInit {
exhaustMap(() => this.http.get(`../rest/resources/${this.data.resId}`)), exhaustMap(() => this.http.get(`../rest/resources/${this.data.resId}`)),
tap((data: any) => { tap((data: any) => {
Object.keys(data.customFields).forEach(key => { Object.keys(data.customFields).forEach(key => {
this.customsData[key] = { if (!this.functions.empty(this.customs[key])) {
label: this.customs[key].label, this.customsData[key] = {
value: data.customFields[key], label: this.customs[key].label,
icon: 'fas fa-hashtag' value: data.customFields[key],
}; icon: 'fas fa-hashtag'
};
}
}); });
}), }),
catchError((err: any) => { catchError((err: any) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment