diff --git a/apps/dashboard/src/app.html b/apps/dashboard/src/app.html index a1ad400f..62a2b94d 100644 --- a/apps/dashboard/src/app.html +++ b/apps/dashboard/src/app.html @@ -9,13 +9,6 @@ - - %sveltekit.head% diff --git a/apps/dashboard/src/lib/components/Navigation/app.svelte b/apps/dashboard/src/lib/components/Navigation/app.svelte index 1fa5575a..e9f451e3 100644 --- a/apps/dashboard/src/lib/components/Navigation/app.svelte +++ b/apps/dashboard/src/lib/components/Navigation/app.svelte @@ -18,7 +18,7 @@ let { title = $bindable(''), navClass = '', isCoursePage = false }: Props = $props(); let coursesPath = $derived( - $globalStore.isOrgSite ? '/lms/mylearning' : isCoursePage ? `${$currentOrgPath}/courses` : $currentOrgPath + $globalStore.isStudent ? '/lms/mylearning' : isCoursePage ? `${$currentOrgPath}/courses` : $currentOrgPath ); @@ -27,13 +27,13 @@
{#if isCoursePage} {/if}