From 5b6d371e9ca54d0aabebde1fbc89e23ae716d409 Mon Sep 17 00:00:00 2001 From: Gerald Schmittinger Date: Sun, 18 May 2025 14:56:47 +0200 Subject: [PATCH] fix(frontend): Vragen werden niet aan het juiste leerobject toegevoegd --- frontend/src/components/QuestionBox.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/QuestionBox.vue b/frontend/src/components/QuestionBox.vue index 8072df16..afa3dfa8 100644 --- a/frontend/src/components/QuestionBox.vue +++ b/frontend/src/components/QuestionBox.vue @@ -59,10 +59,10 @@ const questionInput = ref(""); - const loID: LearningObjectIdentifierDTO = { + const loID: ComputedRef = computed(() => ({ hruid: props.learningObjectHruid as string, language: props.language, - }; + })); const createQuestionMutation = useCreateQuestionMutation(loID); const groupsQueryResult = useStudentGroupsQuery(authService.authState.user?.profile.preferred_username);