Make it easier to switch between v1/v2 layout.

This commit is contained in:
James Cole
2021-02-02 19:20:44 +01:00
parent 71239dbf5b
commit 957e34a57a
43 changed files with 228 additions and 57 deletions

View File

@@ -213,6 +213,9 @@ const mutations = {
//console.log('resetErrors for index ' + payload.index);
state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);
},
resetTransactions(state) {
state.transactions = [];
},
setDate(state, payload) {
state.date = payload.date;
},