diff --git a/client/src/pages/userProfile/LearningPathProfilePage.vue b/client/src/pages/userProfile/LearningPathProfilePage.vue index 6517a2fb..0c240806 100644 --- a/client/src/pages/userProfile/LearningPathProfilePage.vue +++ b/client/src/pages/userProfile/LearningPathProfilePage.vue @@ -8,6 +8,7 @@ import { computed, ref, watch } from "vue"; import type { CircleType } from "@/types"; import { COURSE_QUERY } from "@/graphql/queries"; import { useQuery } from "@urql/vue"; +import UserProfileTopicList from "./UserProfileTopicList.vue"; const props = defineProps<{ userId: string; @@ -36,7 +37,7 @@ const chosenProfile = computed(() => { if (courseSessionUsers.value && courseSessionUsers.value.length > 0) { return courseSessionUsers.value[0]?.chosen_profile; } - return null; + return undefined; }); watch(lpQueryResult.learningPath, () => { @@ -56,28 +57,14 @@ watch(lpQueryResult.learningPath, () => { {{ $t(`profile.${chosenProfile}`) }} -