fix: geselecteerde leerobject wordt weer aangeduidt in discussions sidebar
This commit is contained in:
		
							parent
							
								
									f5bf11d812
								
							
						
					
					
						commit
						b66026382b
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		|  | @ -10,6 +10,10 @@ | |||
|     const { t, locale } = useI18n(); | ||||
|     const route = useRoute(); | ||||
| 
 | ||||
|     const props = defineProps<{ | ||||
|             learningObjectHruid: string; | ||||
|         }>(); | ||||
| 
 | ||||
|     const navigationDrawerShown = ref(true); | ||||
|     const currentLocale = ref(locale.value); | ||||
|     const expanded = ref([route.params.hruid]); | ||||
|  | @ -42,7 +46,7 @@ | |||
|                     <DiscussionSideBarElement | ||||
|                         v-for="learningPath in learningPaths.data" | ||||
|                         :path="learningPath" | ||||
|                         :activeObjectId="'' as string" | ||||
|                         :activeObjectId="props.learningObjectHruid" | ||||
|                         :key="learningPath.hruid" | ||||
|                     /> | ||||
|                 </using-query-result> | ||||
|  |  | |||
|  | @ -75,7 +75,9 @@ const { t } = useI18n(); | |||
| </script> | ||||
| 
 | ||||
| <template> | ||||
|     <DiscussionsSideBar></DiscussionsSideBar> | ||||
|     <DiscussionsSideBar | ||||
|         :learningObjectHruid="props.learningObjectHruid"> | ||||
|     </DiscussionsSideBar> | ||||
|     <div class="discussions-container"> | ||||
|         <QuestionBox | ||||
|             :hruid="props.hruid" | ||||
|  |  | |||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst