mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Better event.
This commit is contained in:
parent
fbbf002451
commit
978c56b16b
@ -39,7 +39,7 @@
|
|||||||
v-on:switch-accounts="switchAccounts($event)"
|
v-on:switch-accounts="switchAccounts($event)"
|
||||||
v-on:set-amount="storeAmount(index, $event)"
|
v-on:set-amount="storeAmount(index, $event)"
|
||||||
v-on:set-foreign-currency-id="storeField($event)"
|
v-on:set-foreign-currency-id="storeField($event)"
|
||||||
v-on:set-foreign-amount="storeForeignAmount(index, $event)"
|
v-on:set-foreign-amount="storeField($event)"
|
||||||
v-on:set-date="storeDate($event)"
|
v-on:set-date="storeDate($event)"
|
||||||
v-on:set-time="storeTime($event)"
|
v-on:set-time="storeTime($event)"
|
||||||
v-on:set-custom-date="storeCustomDate(index, $event)"
|
v-on:set-custom-date="storeCustomDate(index, $event)"
|
||||||
|
@ -59,7 +59,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
amount: function(value) {
|
amount: function(value) {
|
||||||
this.$emit('set-foreign-amount', value);
|
this.$emit('set-foreign-amount', {field: 'foreign_amount', index: this.index, value: value});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
Reference in New Issue
Block a user