From b783940ceed2657d8c3c503d83dd1e1f0505f370 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sat, 8 Nov 2025 17:58:03 +0100 Subject: [PATCH] fix: keep org store after logout This fix tackled a bug where if I logged out, go to org landing page, open a course and enrol then it gets redirected to a 404 page because `$currentOrg.siteName` is undefined. --- .../components/Org/ProfileMenu/Menu.svelte | 36 ++++--------------- .../src/lib/utils/functions/logout.ts | 3 -- 2 files changed, 6 insertions(+), 33 deletions(-) diff --git a/apps/dashboard/src/lib/components/Org/ProfileMenu/Menu.svelte b/apps/dashboard/src/lib/components/Org/ProfileMenu/Menu.svelte index a8f36b4c..ba25b3f2 100644 --- a/apps/dashboard/src/lib/components/Org/ProfileMenu/Menu.svelte +++ b/apps/dashboard/src/lib/components/Org/ProfileMenu/Menu.svelte @@ -1,44 +1,20 @@