fix(frontend): Vragen werden niet aan het juiste leerobject toegevoegd

This commit is contained in:
Gerald Schmittinger 2025-05-18 14:56:47 +02:00
parent bf4ff9ffbe
commit 5b6d371e9c

View file

@ -59,10 +59,10 @@
const questionInput = ref("");
const loID: LearningObjectIdentifierDTO = {
const loID: ComputedRef<LearningObjectIdentifierDTO> = computed(() => ({
hruid: props.learningObjectHruid as string,
language: props.language,
};
}));
const createQuestionMutation = useCreateQuestionMutation(loID);
const groupsQueryResult = useStudentGroupsQuery(authService.authState.user?.profile.preferred_username);