This commit is contained in:
Yuri Kuznetsov
2022-01-19 12:13:16 +02:00
parent 12549e2587
commit 022da56bf4
2 changed files with 4 additions and 2 deletions
@@ -33,7 +33,7 @@
{{#each scopeDataList}}
<tr data-scope="{{name}}" class="scope-row">
<td>
{{#if customizable}}
{{#if hasView}}
<a href="#Admin/entityManager/scope={{name}}">{{name}}</a>
{{else}}
{{name}}
@@ -89,11 +89,13 @@ define('views/admin/entity-manager/index', 'view', function (Dep) {
isRemovable = false;
}
hasView = d.customizable;
this.scopeDataList.push({
name: scope,
isCustom: d.isCustom,
isRemovable: isRemovable,
customizable: d.customizable,
hasView: hasView,
type: d.type,
label: this.getLanguage().translate(scope, 'scopeNames'),
layouts: d.layouts,