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

FEAT #13271 TIME 0:05 modify the values ​​of secondary Display Data fields

parent cdb48632
No related branches found
No related tags found
No related merge requests found
......@@ -376,9 +376,11 @@ export class SearchAdministrationComponent implements OnInit {
this.selectedProcessTool.defaultTab = defaultTab;
displayData.forEach((element: { value: any; cssClasses: any; icon: any; }) => {
const sampleValue = this.availableData.filter((t: { value: any; }) => t.value === element.value)[0].sample;
const label = this.availableData.filter((t: { value: any; }) => t.value === element.value)[0].label;
console.log(this.availableData.filter((t: { value: any; }) => t.value === element.value));
this.displayedSecondaryData.push({
'value': element.value,
'label': this.translate.instant('lang.' + element.value),
'label': label,
'sample': sampleValue,
'cssClasses': element.cssClasses,
'icon': element.icon
......
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