π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Remove setTimeout before redirection & fix typo in notification
Smaug6739218089a15b35
diff --git a/frontend/app/composables/user.ts b/frontend/app/composables/user.tsindex 6ab3b2fd..3b5d8cad 100644--- a/frontend/app/composables/user.ts+++ b/frontend/app/composables/user.ts@@ -15,11 +15,9 @@ function logoutUserAll() {store.logout_all().then(() => {- useNotifications().add({ type: 'success', title: 'Logged out:' });- setTimeout(() => {- store.post_logout();- useRouter().push('/login');- }, 3000);+ useNotifications().add({ type: 'success', title: 'Logged out' });+ store.post_logout();+ useRouter().push('/login');}).catch(e => useNotifications().add({ type: 'error', title: 'Error', message: e }));}