EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Do not sete null style in metadata
Yurii67763ac574fa
diff --git a/client/src/views/admin/field-manager/fields/options-with-style.js b/client/src/views/admin/field-manager/fields/options-with-style.jsindex 08133de433..ec6dc51e07 100644--- a/client/src/views/admin/field-manager/fields/options-with-style.js+++ b/client/src/views/admin/field-manager/fields/options-with-style.js@@ -157,7 +157,13 @@ export default class extends OptionsView {data.style = {};(data.options || []).forEach(item => {- data.style[item] = this.optionsStyleMap[item] || null;+ const style = this.optionsStyleMap[item];++ if (style == null) {+ return;+ }++ data.style[item] = style;});return data;