From 2553d42dae7a3b942cfc7518ddde96dd6c6fe9fe Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Thu, 4 Apr 2024 14:33:55 +0100 Subject: [PATCH] fix: prevent students from logging into dashboard from 404 --- apps/dashboard/src/lib/components/Navigation/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/lib/components/Navigation/index.svelte b/apps/dashboard/src/lib/components/Navigation/index.svelte index fff04afd..1395680b 100644 --- a/apps/dashboard/src/lib/components/Navigation/index.svelte +++ b/apps/dashboard/src/lib/components/Navigation/index.svelte @@ -58,7 +58,7 @@ {#if isOrgSite}
  • Go to LMS
  • {/if} - {:else} + {:else if !$page.url.pathname?.includes('/404')}