Commit ebae6597 authored by Florian Azizian's avatar Florian Azizian

FEAT #11270 TIME 0:05 check values null in get custom fields front

parent 592f7960
...@@ -85,11 +85,13 @@ export class CustomFieldsAdministrationComponent implements OnInit { ...@@ -85,11 +85,13 @@ export class CustomFieldsAdministrationComponent implements OnInit {
// TO FIX DATA BINDING SIMPLE ARRAY VALUES // TO FIX DATA BINDING SIMPLE ARRAY VALUES
map((data: any) => { map((data: any) => {
data.customFields.forEach((element: any) => { data.customFields.forEach((element: any) => {
element.values = element.values.map((info: any) => { if (element.values != null) {
return { element.values = element.values.map((info: any) => {
label: info return {
} label: info
}); }
});
}
}); });
return data; return data;
}), }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment