diff --git a/apps/dashboard/src/lib/components/Navigation/app.svelte b/apps/dashboard/src/lib/components/Navigation/app.svelte index e9f451e3..51d9e736 100644 --- a/apps/dashboard/src/lib/components/Navigation/app.svelte +++ b/apps/dashboard/src/lib/components/Navigation/app.svelte @@ -5,7 +5,7 @@ import ArrowLeftIcon from '@lucide/svelte/icons/arrow-left'; import { IconButton } from '@cio/ui/custom/icon-button'; - import { globalStore } from '$lib/utils/store/app'; + import { isStudentExperience } from '$lib/utils/store/app'; import { currentOrgPath } from '$lib/utils/store/org'; import { t } from '$lib/utils/functions/translations'; @@ -18,7 +18,7 @@ let { title = $bindable(''), navClass = '', isCoursePage = false }: Props = $props(); let coursesPath = $derived( - $globalStore.isStudent ? '/lms/mylearning' : isCoursePage ? `${$currentOrgPath}/courses` : $currentOrgPath + $isStudentExperience ? '/lms/mylearning' : isCoursePage ? `${$currentOrgPath}/courses` : $currentOrgPath ); diff --git a/apps/dashboard/src/lib/components/Navigation/index.svelte b/apps/dashboard/src/lib/components/Navigation/index.svelte index 7704f4c9..268427e5 100644 --- a/apps/dashboard/src/lib/components/Navigation/index.svelte +++ b/apps/dashboard/src/lib/components/Navigation/index.svelte @@ -1,9 +1,8 @@ diff --git a/apps/dashboard/src/lib/features/community/pages/ask-community.svelte b/apps/dashboard/src/lib/features/community/pages/ask-community.svelte index 5a210e02..4abe0945 100644 --- a/apps/dashboard/src/lib/features/community/pages/ask-community.svelte +++ b/apps/dashboard/src/lib/features/community/pages/ask-community.svelte @@ -9,12 +9,6 @@ import { currentOrg } from '$lib/utils/store/org'; import { communityApi } from '$features/community/api/community.svelte'; - interface Props { - isLMS?: boolean; - } - - let { isLMS = false }: Props = $props(); - let fields = $state({ title: '', body: '', @@ -45,10 +39,8 @@