Use same style for all notifications, better error message
This commit is contained in:
		
							parent
							
								
									1471f1a660
								
							
						
					
					
						commit
						967458a51b
					
				|  | @ -177,9 +177,14 @@ export default defineComponent({ | |||
|     const avatar = ref<string>(''); | ||||
|     function onAvatarRejected() { | ||||
|       Notify.create({ | ||||
|         color: 'negative', | ||||
|         message: 'Ungültige Bilddatei', | ||||
|         group: false, | ||||
|         type: 'negative', | ||||
|         message: 'Datei zu groß oder keine gültige Bilddatei.', | ||||
|         timeout: 10000, | ||||
|         progress: true, | ||||
|         actions: [{ icon: 'mdi-close', color: 'white' }], | ||||
|       }); | ||||
|       avatar.value = ''; | ||||
|     } | ||||
| 
 | ||||
|     const allRoles = computed(() => | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue