Hide contact box if learning_mentor is disabled

This commit is contained in:
Christian Cueni 2024-10-28 10:39:16 +01:00
parent c11e4d1105
commit 5850321776
1 changed files with 7 additions and 1 deletions

View File

@ -242,7 +242,13 @@ watch(
</button>
</div>
<DocumentSection v-if="showDocumentSection" :circle="circle" />
<div v-if="!props.readonly" class="expert mt-8 border p-6">
<div
v-if="
!props.readonly &&
lpQueryResult.course.value?.configuration.enable_learning_mentor
"
class="expert mt-8 border p-6"
>
<h3 class="text-blue-dark">{{ $t("circlePage.gotQuestions") }}</h3>
<div
class="mt-4 leading-relaxed"