This commit is contained in:
@@ -287,16 +287,11 @@ export default {
|
||||
return this.value.items[this.activeWoItemIndex].scheduledUsers.length > 1;
|
||||
},
|
||||
canAdd: function() {
|
||||
return (
|
||||
!this.value.isLockedAtServer &&
|
||||
this.pvm.rights.change &&
|
||||
this.pvm.subRights.scheduledUsers.create
|
||||
);
|
||||
return this.pvm.rights.change && this.pvm.subRights.scheduledUsers.create;
|
||||
},
|
||||
canDelete: function() {
|
||||
return (
|
||||
this.activeItemIndex != null &&
|
||||
!this.value.isLockedAtServer &&
|
||||
this.pvm.rights.change &&
|
||||
this.pvm.subRights.scheduledUsers.delete
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user