This commit is contained in:
@@ -165,6 +165,7 @@ export default {
|
||||
methods: {
|
||||
newItem() {
|
||||
let newIndex = this.value.items.length;
|
||||
|
||||
this.value.items.push({
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
@@ -189,7 +190,8 @@ export default {
|
||||
tasks: [],
|
||||
travels: [],
|
||||
units: [],
|
||||
outsideServices: []
|
||||
outsideServices: [],
|
||||
uid: Date.now() //guaranteed unique and higher than any prior
|
||||
});
|
||||
this.$emit("change");
|
||||
this.selectedRow = [{ index: newIndex }];
|
||||
|
||||
Reference in New Issue
Block a user