fix: tabel met klassen wordt herladen wanneer een nieuwe klas werd aangemaakt
This commit is contained in:
		
							parent
							
								
									5805e72aba
								
							
						
					
					
						commit
						251d50de19
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -78,6 +78,7 @@ | ||||||
|                 showSnackbar(t("created"), "success"); |                 showSnackbar(t("created"), "success"); | ||||||
| 
 | 
 | ||||||
|                 // Reload the table with classes so the new class appears |                 // Reload the table with classes so the new class appears | ||||||
|  |                 await classesQuery.refetch(); | ||||||
|             } catch (_) { |             } catch (_) { | ||||||
|                 showSnackbar(t("wrong"), "error"); |                 showSnackbar(t("wrong"), "error"); | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 laurejablonski
						laurejablonski