fix variables, ignore utility

This commit is contained in:
Yuri Kuznetsov
2024-09-10 13:30:42 +03:00
parent 0389e35b2d
commit d0435a6653
@@ -201,10 +201,10 @@ export default class extends BaseFieldView {
fieldList.forEach(field => {
const aclDefs = /** @type {Record} */
this.getMetadata().get(['entityAcl', entityType, 'fields', field]) || {};
this.getMetadata().get(['entityAcl', scope, 'fields', field]) || {};
const fieldDefs = /** @type {Record} */
this.getMetadata().get(['entityDefs', entityType, 'fields', field]) || {};
this.getMetadata().get(['entityDefs', scope, 'fields', field]) || {};
if (
aclDefs.onlyAdmin ||