no duplicate if create disabled

This commit is contained in:
Yuri Kuznetsov
2022-07-11 15:36:59 +03:00
parent 31685d57b7
commit d0f0042073
+4
View File
@@ -1478,6 +1478,10 @@ function (Dep, ViewRecordHelper, ActionItemSetup) {
.get(['clientDefs', this.scope, 'editDisabled']) || false;
}
if (this.getMetadata().get(['clientDefs', this.scope, 'createDisabled'])) {
this.duplicateAction = false;
}
this.readOnlyLocked = this.readOnly;
this.inlineEditDisabled = this.inlineEditDisabled ||