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; | ||||
|         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 | ||||
|  |  | |||
		Reference in a new issue
	
	 Joyelle Ndagijimana
						Joyelle Ndagijimana