mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
Rebuild FP
This commit is contained in:
@@ -53,8 +53,17 @@ const mutations = {
|
||||
state.transactions.push(
|
||||
{
|
||||
description: '',
|
||||
date: new Date
|
||||
}
|
||||
);
|
||||
},
|
||||
deleteTransaction(state, index) {
|
||||
this.state.transactions.splice(index, 1);
|
||||
},
|
||||
updateField(state, payload) {
|
||||
console.log('I am update field');
|
||||
console.log(payload)
|
||||
state.transactions[payload.index][payload.field] = payload.value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user