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:
commit
3dae015e3e
2 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue