fix: kleine fix
This commit is contained in:
		
							parent
							
								
									8e97c10f65
								
							
						
					
					
						commit
						2de6e680fc
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -30,7 +30,6 @@ | ||||||
|     //TODO: remove later |     //TODO: remove later | ||||||
|     const classController = new ClassController(); |     const classController = new ClassController(); | ||||||
| 
 | 
 | ||||||
|     const deletedAssignments = ref<Set<number>>(new Set()); |  | ||||||
|     //TODO: replace by query that fetches all user's assignment |     //TODO: replace by query that fetches all user's assignment | ||||||
|     const assignments = asyncComputed(async () => { |     const assignments = asyncComputed(async () => { | ||||||
|         const classes = classesQueryResults?.data?.value?.classes; |         const classes = classesQueryResults?.data?.value?.classes; | ||||||
|  | @ -50,7 +49,7 @@ | ||||||
|             }), |             }), | ||||||
|         ); |         ); | ||||||
| 
 | 
 | ||||||
|         return result.flat().filter(a => !deletedAssignments.value.has(a.id)); |         return result.flat(); | ||||||
|     }, []); |     }, []); | ||||||
| 
 | 
 | ||||||
|     async function goToCreateAssignment(): Promise<void> { |     async function goToCreateAssignment(): Promise<void> { | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Joyelle Ndagijimana
						Joyelle Ndagijimana