From a37965036786aaec83bf3fcea0de2d4365a9eac0 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 24 Oct 2024 11:20:01 +0200 Subject: [PATCH] Move selected course session indicator --- .../header/CourseSessionNavigation.vue | 11 ++++++++--- .../header/SelectedCourseSession.vue | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 client/src/components/header/SelectedCourseSession.vue diff --git a/client/src/components/header/CourseSessionNavigation.vue b/client/src/components/header/CourseSessionNavigation.vue index 4ff81cd6..e756e5d2 100644 --- a/client/src/components/header/CourseSessionNavigation.vue +++ b/client/src/components/header/CourseSessionNavigation.vue @@ -10,11 +10,12 @@ import { } from "@/utils/utils"; import { useTranslation } from "i18next-vue"; import { computed } from "vue"; +import SelectedCourseSession from "./SelectedCourseSession.vue"; const { t } = useTranslation(); const courseSessionsStore = useCourseSessionsStore(); -const { inCockpit, inCompetenceProfile, inLearningMentor, inLearningPath } = +const { isInCockpit, inCompetenceProfile, inLearningMentor, inLearningPath } = useRouteLookups(); const { hasCompetenceNaviMenu, @@ -30,13 +31,17 @@ const mentorTabTitle = computed(() => );