feat: leerobjecten in discussions sidebar tonen wanneer er een vraag is gesteld

This commit is contained in:
Timo De Meyst 2025-05-19 21:37:16 +02:00
parent b66026382b
commit 4be55e1b9a

View file

@ -4,6 +4,7 @@ import type { LearningPath } from '@/data-objects/learning-paths/learning-path';
import { useLearningObjectListForPathQuery } from '@/queries/learning-objects';
import { useRoute } from 'vue-router';
import UsingQueryResult from '@/components/UsingQueryResult.vue';
import QuestionNotification from "@/components/QuestionNotification.vue";
const route = useRoute();
@ -37,6 +38,9 @@ const route = useRoute();
:title="node.title"
:active="node.key === props.activeObjectId"
>
<template v-slot:append>
<QuestionNotification :node="node"></QuestionNotification>
</template>
</v-list-item>
</template>
</using-query-result>