fix: query oproepen buiten de template
This commit is contained in:
parent
62ba67b5b6
commit
a88390f46b
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@
|
||||||
path: LearningPath;
|
path: LearningPath;
|
||||||
activeObjectId: string;
|
activeObjectId: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
|
const learningObjectsQuery = useLearningObjectListForPathQuery(props.path);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -22,7 +24,7 @@
|
||||||
<v-expansion-panel-text>
|
<v-expansion-panel-text>
|
||||||
<v-lazy>
|
<v-lazy>
|
||||||
<using-query-result
|
<using-query-result
|
||||||
:query-result="useLearningObjectListForPathQuery(props.path)"
|
:query-result="learningObjectsQuery"
|
||||||
v-slot="learningObjects: { data: LearningObject[] }"
|
v-slot="learningObjects: { data: LearningObject[] }"
|
||||||
>
|
>
|
||||||
<template
|
<template
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue