fix: hide sample solution if learning mentors are present

This commit is contained in:
Livio Bieri 2024-03-26 10:38:05 +01:00
parent 0f6f61667b
commit 8109446602
1 changed files with 5 additions and 1 deletions

View File

@ -99,5 +99,9 @@ const onSubmit = async () => {
>
<p>{{ $t("a.Ergebnisse teilen") }}</p>
</ItButton>
<SampleSolution class="pt-8" :assignment="assignment" />
<SampleSolution
v-if="learningMentors?.length == 0"
class="pt-8"
:assignment="assignment"
/>
</template>