This commit is contained in:
2021-04-13 00:29:42 +00:00
parent 351d091f22
commit a046322b14
4 changed files with 65 additions and 25 deletions

View File

@@ -311,7 +311,7 @@ and it's probably not a big list to fill anyway
},
canAdd: function() {
return (
!this.value.isLockedAtServer &&
!this.pvm.formState.readOnly &&
this.pvm.rights.change &&
this.pvm.subRights.items.create
);
@@ -319,7 +319,7 @@ and it's probably not a big list to fill anyway
canDelete: function() {
return (
this.activeItemIndex != null &&
!this.value.isLockedAtServer &&
!this.pvm.formState.readOnly &&
this.pvm.rights.change &&
this.pvm.subRights.items.delete
);