Better event.

This commit is contained in:
James Cole 2021-02-23 06:31:51 +01:00
parent afe6f07e61
commit 7aaec92ae6
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
v-on:set-time="storeTime($event)" v-on:set-time="storeTime($event)"
v-on:set-custom-date="storeField($event)" v-on:set-custom-date="storeField($event)"
v-on:set-budget="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-bill="storeBill(index, $event)"
v-on:set-tags="storeTags(index, $event)" v-on:set-tags="storeTags(index, $event)"
v-on:set-piggy-bank="storePiggyBank(index, $event)" v-on:set-piggy-bank="storePiggyBank(index, $event)"

View File

@ -93,7 +93,7 @@ export default {
}, },
watch: { watch: {
category: function (value) { category: function (value) {
this.$emit('set-category', value); this.$emit('set-category', {field: 'category', index: this.index, value: value});
} }
}, },
computed: { computed: {