diff --git a/app/static/src/app/components/sessions/SessionsPage.vue b/app/static/src/app/components/sessions/SessionsPage.vue index f929c398e..aedccf1cc 100644 --- a/app/static/src/app/components/sessions/SessionsPage.vue +++ b/app/static/src/app/components/sessions/SessionsPage.vue @@ -294,9 +294,9 @@ export default defineComponent({ window.location.assign(link); }; - onMounted(() => { + onMounted(async () => { + await store.dispatch(AppStateAction.LoadUserPreferences); store.dispatch(`${namespace}/${SessionsAction.GetSessions}`); - store.dispatch(AppStateAction.LoadUserPreferences); }); const messages = userMessages.sessions;