From 929db00a47cac2dbfc9b51aa0e73bd3225184cb5 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Wed, 19 Jan 2022 21:28:14 +0000 Subject: [PATCH] Get Dashboards on mounted --- web/src/pages/Dashboard.vue | 3 +++ 1 file changed, 3 insertions(+) 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"); } }