Merge branch 'fix/questions-toon-enkel-groep' of https://github.com/SELab-2/Dwengo-1 into fix/questions-toon-enkel-groep

This commit is contained in:
Gerald Schmittinger 2025-05-20 13:46:03 +02:00
commit 3dae015e3e
2 changed files with 7 additions and 2 deletions

View file

@ -25,7 +25,7 @@
const loID: ComputedRef<LearningObjectIdentifierDTO> = computed(() => ({
hruid: props.learningObjectHruid as string,
language: props.learningObjectLanguage,
version: props.learningObjectVersion
version: props.learningObjectVersion,
}));
const createQuestionMutation = useCreateQuestionMutation(loID);

View file

@ -353,7 +353,12 @@
:learningObjectHruid="currentNode.learningobjectHruid"
:learningObjectLanguage="currentNode.language"
:learningObjectVersion="currentNode.version"
:forGroup="{assignment: forGroup.assignmentNo, class: forGroup.classId, groupNumber: forGroup.forGroup}"
:forGroup="{
assignment: forGroup.assignmentNo,
class: forGroup.classId,
groupNumber: forGroup.forGroup,
}"
@updated="refetchQuestions"
/>
<QandA :questions="(questionsResponse.data.questions as QuestionDTO[]) ?? []" />
</using-query-result>