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