fix(frontend): Vragen werden niet aan het juiste leerobject toegevoegd
This commit is contained in:
parent
bf4ff9ffbe
commit
5b6d371e9c
1 changed files with 2 additions and 2 deletions
|
@ -59,10 +59,10 @@
|
||||||
|
|
||||||
const questionInput = ref("");
|
const questionInput = ref("");
|
||||||
|
|
||||||
const loID: LearningObjectIdentifierDTO = {
|
const loID: ComputedRef<LearningObjectIdentifierDTO> = computed(() => ({
|
||||||
hruid: props.learningObjectHruid as string,
|
hruid: props.learningObjectHruid as string,
|
||||||
language: props.language,
|
language: props.language,
|
||||||
};
|
}));
|
||||||
const createQuestionMutation = useCreateQuestionMutation(loID);
|
const createQuestionMutation = useCreateQuestionMutation(loID);
|
||||||
const groupsQueryResult = useStudentGroupsQuery(authService.authState.user?.profile.preferred_username);
|
const groupsQueryResult = useStudentGroupsQuery(authService.authState.user?.profile.preferred_username);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue