diff --git a/client/src/components/header/MainNavigationBar.vue b/client/src/components/header/MainNavigationBar.vue index 3c448f60..f7efdce5 100644 --- a/client/src/components/header/MainNavigationBar.vue +++ b/client/src/components/header/MainNavigationBar.vue @@ -104,7 +104,8 @@ const hasPreviewMenu = computed(() => const hasAppointmentsMenu = computed(() => Boolean( courseSessionsStore.currentCourseSession?.actions.includes("appointments") && - userStore.loggedIn + userStore.loggedIn && + inCourse() ) ); @@ -130,6 +131,10 @@ const mentorTabTitle = computed(() => ? "a.Praxisbildner" : "a.Lernbegleitung" ); + +const hasSessionTitle = computed(() => { + return courseSessionsStore.currentCourseSession?.title && inCourse(); +});