Fix error "TypeError: undefined attributeStyleMap"

This commit is contained in:
Hadi Nategh 2021-12-15 12:19:08 +01:00
parent 528134cfac
commit cf4e5a76ef

View File

@ -762,7 +762,7 @@ class AddressbookApp extends EgwApp
display = "none"; display = "none";
} }
} }
if(custom_field.attributeStyleMap) if(custom_field?.attributeStyleMap)
{ {
custom_field.attributeStyleMap.set("display", display); custom_field.attributeStyleMap.set("display", display);
} }