Better event.

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

View File

@ -45,7 +45,7 @@
v-on:set-custom-date="storeField($event)"
v-on:set-budget="storeField($event)"
v-on:set-category="storeField($event)"
v-on:set-bill="storeBill(index, $event)"
v-on:set-bill="storeField($event)"
v-on:set-tags="storeTags(index, $event)"
v-on:set-piggy-bank="storePiggyBank(index, $event)"
v-on:set-internal-reference="storeInternalReference(index, $event)"

View File

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