diff --git a/web/src/pages/Dashboard.vue b/web/src/pages/Dashboard.vue index c2be395..c4c47bc 100644 --- a/web/src/pages/Dashboard.vue +++ b/web/src/pages/Dashboard.vue @@ -5,6 +5,9 @@ export default { console.log(this.$store.state); return this.$store.state; } + }, + mounted () { + this.$store.commit("getDashboard"); } }