diff --git a/front/src/App.vue b/front/src/App.vue index 52691e903..b56cf9bc3 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -67,6 +67,11 @@ onKeyboardShortcut('h', () => toggleShortcutsModal()) const { width } = useWindowSize() const showSetInstanceModal = ref(false) + +// Fetch user data on startup +if (store.state.auth.authenticated) { + store.dispatch('auth/fetchUser') +}