Submit was broken.

This commit is contained in:
James Cole
2021-04-08 17:49:25 +02:00
parent f2073a4494
commit 5b60db120f
3 changed files with 4 additions and 3 deletions

View File

@@ -447,7 +447,8 @@ export default {
}
}
},
addTransaction: function () {
addTransaction: function (event) {
event.preventDefault();
let newTransaction = getDefaultTransaction();
newTransaction.errors = getDefaultErrors();
this.transactions.push(newTransaction);