Add remove LOA button

This commit is contained in:
leigh-mil
2019-02-22 15:21:33 -05:00
parent 2d2f8d8d93
commit 9a7bcd6f29
2 changed files with 10 additions and 0 deletions

View File

@@ -42,5 +42,11 @@ export default {
addLOA: function(event) {
this.loas.push(createLOA(''))
},
removeLOA: function(index) {
if (this.loas.length > 1) {
this.loas.splice(index, 1)
}
},
},
}