entity manager: no stream for user

This commit is contained in:
yuri
2015-10-29 11:26:50 +02:00
parent c92ba7f8f6
commit deee30eb3e

View File

@@ -63,6 +63,9 @@ Espo.define('views/admin/entity-manager/modals/edit-entity', ['views/modal', 'mo
if (scope) {
this.hasStreamField = this.getMetadata().get('scopes.' + scope + '.customizable') || false;
}
if (scope === 'User') {
this.hasStreamField = false;
}
if (scope) {
this.model.set('name', scope);