From b275aef04d41e263c3e65ada4f9934fab7d963b3 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Thu, 30 Sep 2021 17:14:22 -0800 Subject: [PATCH] fix(frontend): :bug: fetch categories on load (#709) Co-authored-by: Hayden --- .vscode/settings.json | 3 ++- frontend/src/App.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b0dfef42d8b3..b230ec29274f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,5 +15,6 @@ "i18n-ally.keystyle": "nested", "cSpell.words": ["compression", "hkotel", "performant", "postgres", "webp"], "search.mode": "reuseEditor", - "python.linting.flake8Enabled": true + "python.linting.flake8Enabled": true, + "conventionalCommits.scopes": ["frontend"] } diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 63d1c45e1549..659eb4520682 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -55,6 +55,7 @@ export default { this.$store.dispatch("requestUserData"); this.$store.dispatch("requestCurrentGroup"); this.$store.dispatch("requestTags"); + this.$store.dispatch("requestCategories"); this.$store.dispatch("requestAppInfo"); this.$store.dispatch("requestSiteSettings");