CLASSROOMIO-T-47: Update nav for lms only

This commit is contained in:
Rotimi Best
2023-07-15 18:25:17 +00:00
parent 60a9709fdd
commit 1e202475ac
+3
View File
@@ -1,6 +1,7 @@
<script>
import { goto, stores } from '@sapper/app';
import { user } from '../../utils/store/user';
import { appStore } from '../../utils/store/app';
import { isCoursePage } from '../../utils/functions/app';
import PrimaryButton from '../PrimaryButton/index.svelte';
import { VARIANTS } from '../PrimaryButton/constants';
@@ -86,7 +87,9 @@
<span class="flex-grow" />
{#if $user.isLoggedIn}
{#if $appStore.isStudentDomain}
<li><a class="block" href="/lms"> Go to LMS </a></li>
{/if}
{:else}
<li>
{#if !disableLogin}