forked from open-webui/open-webui
		
	fix: restore download notification
This commit is contained in:
		
							parent
							
								
									cf23c23134
								
							
						
					
					
						commit
						e7d8d49374
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -337,6 +337,12 @@
 | 
			
		|||
					toast.error(data.error);
 | 
			
		||||
				} else {
 | 
			
		||||
					toast.success(`Model ${modelName} was successfully downloaded`);
 | 
			
		||||
 | 
			
		||||
					const notification = new Notification(`Ollama`, {
 | 
			
		||||
						body: `Model '${modelName}' has been successfully downloaded.`,
 | 
			
		||||
						icon: '/favicon.png'
 | 
			
		||||
					});
 | 
			
		||||
 | 
			
		||||
					models.set(await getModels());
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue