Merge stores and handle fetching from router

This commit is contained in:
2022-01-29 23:26:57 +00:00
parent 6f7aa28d22
commit e8dbb54086
6 changed files with 111 additions and 152 deletions

View File

@ -3,14 +3,6 @@ import NewBudget from '@/dialogs/NewBudget.vue';
export default {
props: ["budgetid"],
mounted() {
//this.$store.dispatch("fetchDashboard");
},
watch: {
budgetid () {
this.$store.dispatch("setCurrentBudget", this.budgetid)
}
},
components: { NewBudget }
}
</script>