This commit is contained in:
@@ -146,7 +146,9 @@ export default {
|
||||
//it's a previously saved item so it needs to be removed at the server too
|
||||
this.$emit("graph-item-deleted", {
|
||||
atype: window.$gz.type.WorkOrderItemScheduledUser,
|
||||
id: o.id
|
||||
id: o.id,
|
||||
objectIndex: this.activeItemIndex,
|
||||
woItemIndex: this.activeWoItemIndex
|
||||
});
|
||||
}
|
||||
this.value.items[this.activeWoItemIndex].scheduledUsers.splice(
|
||||
|
||||
@@ -163,7 +163,8 @@ export default {
|
||||
//it's a previously saved item so it needs to be removed at the server too
|
||||
this.$emit("graph-item-deleted", {
|
||||
atype: window.$gz.type.WorkOrderItem,
|
||||
id: o.id
|
||||
id: o.id,
|
||||
objectIndex: this.activeItemIndex
|
||||
});
|
||||
}
|
||||
this.value.items.splice(this.activeItemIndex, 1);
|
||||
|
||||
Reference in New Issue
Block a user