feat: leerobjecten in discussions sidebar tonen wanneer er een vraag is gesteld
This commit is contained in:
		
							parent
							
								
									b66026382b
								
							
						
					
					
						commit
						4be55e1b9a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -4,6 +4,7 @@ import type { LearningPath } from '@/data-objects/learning-paths/learning-path'; | ||||||
| import { useLearningObjectListForPathQuery } from '@/queries/learning-objects'; | import { useLearningObjectListForPathQuery } from '@/queries/learning-objects'; | ||||||
| import { useRoute } from 'vue-router'; | import { useRoute } from 'vue-router'; | ||||||
| import UsingQueryResult from '@/components/UsingQueryResult.vue'; | import UsingQueryResult from '@/components/UsingQueryResult.vue'; | ||||||
|  | import QuestionNotification from "@/components/QuestionNotification.vue"; | ||||||
| 
 | 
 | ||||||
| const route = useRoute(); | const route = useRoute(); | ||||||
| 
 | 
 | ||||||
|  | @ -37,6 +38,9 @@ const route = useRoute(); | ||||||
|                             :title="node.title" |                             :title="node.title" | ||||||
|                             :active="node.key === props.activeObjectId" |                             :active="node.key === props.activeObjectId" | ||||||
|                         > |                         > | ||||||
|  |                         <template v-slot:append> | ||||||
|  |                             <QuestionNotification :node="node"></QuestionNotification> | ||||||
|  |                         </template> | ||||||
|                         </v-list-item> |                         </v-list-item> | ||||||
|                     </template> |                     </template> | ||||||
|                 </using-query-result> |                 </using-query-result> | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Timo De Meyst
						Timo De Meyst