Skip to content
Snippets Groups Projects
Commit 91b39923 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #14383 TIME 0:05 display customFields with technical mode + their values

parent 4eb4e2ba
No related branches found
No related tags found
No related merge requests found
......@@ -101,10 +101,13 @@ export class TechnicalInformationComponent implements OnInit {
exhaustMap(() => this.http.get(`../rest/resources/${this.data.resId}`)),
tap((data: any) => {
Object.keys(this.customsData).forEach(key => {
console.log(key);
const values = [];
this.customsData[key].values.forEach(element => {
values.push(element.label);
});
this.customsData[key] = {
label: this.customsData[key].label,
value: this.customsData[key].values,
value: values,
icon: 'fas fa-hashtag'
};
});
......
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