Skip to content

EspoCRM – Open Source CRM Application

Fix

Yurii847944db8cbd
diff --git a/client/modules/crm/src/views/campaign/fields/template.js b/client/modules/crm/src/views/campaign/fields/template.js
index 59505c1a71..e757d4a0d2 100644
--- a/client/modules/crm/src/views/campaign/fields/template.js
+++ b/client/modules/crm/src/views/campaign/fields/template.js
@@ -36,6 +36,7 @@ define('crm:views/campaign/fields/template', ['views/fields/link'], function (De
return {
entityType: {
type: 'in',
+ attribute: 'entityType',
value: [
this.getMetadata().get(['entityDefs', 'Campaign', 'fields', this.name, 'targetEntityType'])
],