15 lines
431 B
Vue
15 lines
431 B
Vue
<script setup lang="ts">
|
|
import { useCourseSessionsStore } from "@/stores/courseSessions";
|
|
import CoursePreviewBar from "./CoursePreviewBar.vue";
|
|
import MainNavigationBar from "./MainNavigationBar.vue";
|
|
|
|
const courseSessionsStore = useCourseSessionsStore();
|
|
</script>
|
|
|
|
<template>
|
|
<CoursePreviewBar v-if="courseSessionsStore.isCourseSessionPreviewActive" />
|
|
<template v-else>
|
|
<MainNavigationBar />
|
|
</template>
|
|
</template>
|