EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
ref
Yuri Kuznetsovcb16bc92541c
diff --git a/client/src/views/admin/entity-manager/edit.js b/client/src/views/admin/entity-manager/edit.jsindex 4b9838fb96..69599ae426 100644--- a/client/src/views/admin/entity-manager/edit.js+++ b/client/src/views/admin/entity-manager/edit.js@@ -131,7 +131,8 @@ class EntityManagerEditView extends View {}if (scope) {- const fieldDefs = this.getMetadata().get('entityDefs.' + scope + '.fields') || {};+ /** @type {Record.<string, Record>} */+ const fieldDefs = this.getMetadata().get(`entityDefs.${scope}.fields`) || {};this.orderableFieldList = Object.keys(fieldDefs).filter(item => {