From cc27307835f227b026fea29d43f97a990c0733be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Fri, 30 Oct 2020 12:08:33 +0100 Subject: [PATCH] [User] Nach updates des Users wird auch der User im frontend neu geladen --- src/boot/loading.ts | 2 +- src/plugins/user/components/settings/Main.vue | 11 +++- src/plugins/user/pages/Settings.vue | 7 ++- src/plugins/user/store/user.ts | 51 +++++++++++++++---- 4 files changed, 57 insertions(+), 14 deletions(-) diff --git a/src/boot/loading.ts b/src/boot/loading.ts index 943f1ea..bf1cd4d 100644 --- a/src/boot/loading.ts +++ b/src/boot/loading.ts @@ -3,7 +3,7 @@ import { Loading } from 'quasar'; // "async" is optional; // more info on params: https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file -export default boot(async (/* { app, router, Vue ... } */) => { +export default boot((/* { app, router, Vue ... } */) => { Loading.setDefaults({ spinner: () => import('src/components/loading/DarkCircularProgress.vue') }); diff --git a/src/plugins/user/components/settings/Main.vue b/src/plugins/user/components/settings/Main.vue index 09d86dc..1c2e7e8 100644 --- a/src/plugins/user/components/settings/Main.vue +++ b/src/plugins/user/components/settings/Main.vue @@ -1,5 +1,6 @@