fix: query oproepen buiten de template

This commit is contained in:
Joyelle Ndagijimana 2025-05-20 15:18:15 +02:00
parent 62ba67b5b6
commit a88390f46b

View file

@ -12,6 +12,8 @@
path: LearningPath;
activeObjectId: string;
}>();
const learningObjectsQuery = useLearningObjectListForPathQuery(props.path);
</script>
<template>
@ -22,7 +24,7 @@
<v-expansion-panel-text>
<v-lazy>
<using-query-result
:query-result="useLearningObjectListForPathQuery(props.path)"
:query-result="learningObjectsQuery"
v-slot="learningObjects: { data: LearningObject[] }"
>
<template