diff --git a/web/src/pages/Account.vue b/web/src/pages/Account.vue index c10aa1f..b9239d0 100644 --- a/web/src/pages/Account.vue +++ b/web/src/pages/Account.vue @@ -3,6 +3,11 @@ export default { mounted() { this.$store.dispatch("setCurrentAccount", {budgetid: this.budgetid, accountid: this.accountid}) }, + watch: { + accountid () { + this.$store.dispatch("setCurrentAccount", {budgetid: this.budgetid, accountid: this.accountid}) + } + }, props: ["budgetid", "accountid"] }