diff --git a/client/src/components/selfEvaluationFeedback/SelfEvaluationAndFeedbackList.vue b/client/src/components/selfEvaluationFeedback/SelfEvaluationAndFeedbackList.vue index eea71983..250edb43 100644 --- a/client/src/components/selfEvaluationFeedback/SelfEvaluationAndFeedbackList.vue +++ b/client/src/components/selfEvaluationFeedback/SelfEvaluationAndFeedbackList.vue @@ -16,7 +16,6 @@ const selfEvaluationFeedbackSummaries = useSelfEvaluationFeedbackSummaries( props.profileUserId ); -const course = computed(() => courseSession.value.course); const isLoaded = computed(() => !selfEvaluationFeedbackSummaries.loading.value); const selectedCircle = ref({ name: t("a.AlleCircle"), id: "_all" }); diff --git a/client/src/pages/learningPath/circlePage/CirclePage.vue b/client/src/pages/learningPath/circlePage/CirclePage.vue index 91ec6eff..07a6a64a 100644 --- a/client/src/pages/learningPath/circlePage/CirclePage.vue +++ b/client/src/pages/learningPath/circlePage/CirclePage.vue @@ -63,8 +63,15 @@ const showDocumentSection = computed(() => { ); }); +const expertAsContact = computed(() => { + return ( + lpQueryResult.course.value?.configuration.enable_learning_mentor && + !lpQueryResult.course.value?.configuration.is_uk + ); +}); + const courseConfig = computed(() => { - if (lpQueryResult.course.value?.configuration.enable_learning_mentor) { + if (expertAsContact.value) { return { contactDescription: "circlePage.contactLearningMentorDescription", contactButton: "circlePage.contactLearningMentorButton", @@ -98,7 +105,7 @@ interface Mentor { const experts = computed(() => { if (courseConfig.value.showContact) { - if (lpQueryResult.course.value?.configuration.enable_learning_mentor) { + if (expertAsContact.value) { if (mentors.value?.length > 0) { return mentors.value.map((m: Mentor) => m.mentor); }