fix: user state name
This commit is contained in:
parent
44868f4673
commit
2d2b5a86c3
|
|
@ -1,13 +1,13 @@
|
|||
<script setup lang="ts">
|
||||
import CourseSessionsMenu from "@/components/header/CourseSessionsMenu.vue";
|
||||
import type { UserState } from "@/stores/user";
|
||||
import type { User } from "@/stores/user";
|
||||
import type { CourseSession } from "@/types";
|
||||
import { PopoverButton } from "@headlessui/vue";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
const props = defineProps<{
|
||||
courseSessions: CourseSession[];
|
||||
user: UserState;
|
||||
user: User;
|
||||
selectedCourseSession?: string;
|
||||
}>();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
import ItFullScreenModal from "@/components/ui/ItFullScreenModal.vue";
|
||||
import { useCourseSessionsStore } from "@/stores/courseSessions";
|
||||
import type { UserState } from "@/stores/user";
|
||||
import type { User } from "@/stores/user";
|
||||
import type { CourseSession } from "@/types";
|
||||
import { useRouter } from "vue-router";
|
||||
import {
|
||||
|
|
@ -20,7 +20,7 @@ defineProps<{
|
|||
hasCockpitMenu: boolean;
|
||||
courseSession: CourseSession | undefined;
|
||||
mediaUrl?: string;
|
||||
user: UserState | undefined;
|
||||
user: User | undefined;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits(["closemodal", "logout"]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue