Merge stores and handle fetching from router
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user