Skip to content

Firefly III: a personal finances manager

Better event.

James Cole7725b2a723c0
diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vue
index 56cd8d3c22..946ea18cca 100644
--- a/frontend/src/components/transactions/Create.vue
+++ b/frontend/src/components/transactions/Create.vue
@@ -47,7 +47,7 @@
v-on:set-category="storeField($event)"
v-on:set-bill="storeField($event)"
v-on:set-tags="storeField($event)"
- v-on:set-piggy-bank="storePiggyBank(index, $event)"
+ v-on:set-piggy-bank="storeField($event)"
v-on:set-internal-reference="storeInternalReference(index, $event)"
v-on:set-external-url="storeExternalUrl(index, $event)"
v-on:set-notes="storeNotes(index, $event)"
diff --git a/frontend/src/components/transactions/TransactionPiggyBank.vue b/frontend/src/components/transactions/TransactionPiggyBank.vue
index e51a3dff67..014626e27a 100644
--- a/frontend/src/components/transactions/TransactionPiggyBank.vue
+++ b/frontend/src/components/transactions/TransactionPiggyBank.vue
@@ -90,7 +90,7 @@ export default {
},
watch: {
piggy_bank_id: function (value) {
- this.$emit('set-piggy-bank', value);
+ this.$emit('set-piggy-bank', {field: 'piggy_bank_id', index: this.index, value: value});
}
}
}