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);