From 890e48e078bf958bedbbeb24c7a9a46638a26fa6 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Fri, 25 Jul 2025 13:35:35 +0200 Subject: [PATCH] Revert "Don't refresh projects if no user is logged in." This reverts commit 3a0f720f2f69eda9cd9f260e89e1fd74bddbf583. --- lib/www/client/source/src/App.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/www/client/source/src/App.vue b/lib/www/client/source/src/App.vue index b65b0d7..96b18ba 100644 --- a/lib/www/client/source/src/App.vue +++ b/lib/www/client/source/src/App.vue @@ -54,7 +54,7 @@ export default { computed: { snackText () { return this.$store.state.snack.snackText }, snackColour () { return this.$store.state.snack.snackColour }, - ...mapGetters(["user", "serverEvent"]) + ...mapGetters(["serverEvent"]) }, watch: { @@ -96,9 +96,7 @@ export default { // Local Storage values are always strings this.$vuetify.theme.dark = localStorage.getItem("darkTheme") == "true"; await this.setCredentials(); - if (this.user) { - this.refreshProjects(); - } + this.refreshProjects(); } };