Skip to content

Firefly III: a personal finances manager

Better event.

James Cole7aaec92ae6ab
diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vue
index bb66c23fb7..68041bb4db 100644
--- a/frontend/src/components/transactions/Create.vue
+++ b/frontend/src/components/transactions/Create.vue
@@ -44,7 +44,7 @@
v-on:set-time="storeTime($event)"
v-on:set-custom-date="storeField($event)"
v-on:set-budget="storeField($event)"
- v-on:set-category="storeCategory(index, $event)"
+ v-on:set-category="storeField($event)"
v-on:set-bill="storeBill(index, $event)"
v-on:set-tags="storeTags(index, $event)"
v-on:set-piggy-bank="storePiggyBank(index, $event)"
diff --git a/frontend/src/components/transactions/TransactionCategory.vue b/frontend/src/components/transactions/TransactionCategory.vue
index 58edd955eb..76e1314080 100644
--- a/frontend/src/components/transactions/TransactionCategory.vue
+++ b/frontend/src/components/transactions/TransactionCategory.vue
@@ -93,7 +93,7 @@ export default {
},
watch: {
category: function (value) {
- this.$emit('set-category', value);
+ this.$emit('set-category', {field: 'category', index: this.index, value: value});
}
},
computed: {