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 {
// TO FIX DATA BINDING SIMPLE ARRAY VALUES
map((data: any) => {
data.customFields.forEach((element: any) => {
element.values = element.values.map((info: any) => {
return {
label: info
}
});
if (element.values != null) {
element.values = element.values.map((info: any) => {
return {
label: info
}
});
}
});
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