forked from open-webui/open-webui
		
	fix: infinite toast error
This commit is contained in:
		
							parent
							
								
									ebddb8e47d
								
							
						
					
					
						commit
						2558997cc5
					
				
					 2 changed files with 10 additions and 10 deletions
				
			
		
							
								
								
									
										18
									
								
								compose.yaml
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								compose.yaml
									
										
									
									
									
								
							|  | @ -22,14 +22,14 @@ services: | ||||||
|     restart: unless-stopped |     restart: unless-stopped | ||||||
|     image: ollama/ollama:latest |     image: ollama/ollama:latest | ||||||
| 
 | 
 | ||||||
|   ollama-webui-db: |   # ollama-webui-db: | ||||||
|     image: mongo |   #   image: mongo | ||||||
|     container_name: ollama-webui-db |   #   container_name: ollama-webui-db | ||||||
|     restart: always |   #   restart: always | ||||||
|     # Make sure to change the username/password! |   #   # Make sure to change the username/password! | ||||||
|     environment: |   #   environment: | ||||||
|       MONGO_INITDB_ROOT_USERNAME: root |   #     MONGO_INITDB_ROOT_USERNAME: root | ||||||
|       MONGO_INITDB_ROOT_PASSWORD: example |   #     MONGO_INITDB_ROOT_PASSWORD: example | ||||||
| 
 | 
 | ||||||
|   ollama-webui: |   ollama-webui: | ||||||
|     build: |     build: | ||||||
|  | @ -41,7 +41,7 @@ services: | ||||||
|     container_name: ollama-webui |     container_name: ollama-webui | ||||||
|     depends_on: |     depends_on: | ||||||
|       - ollama |       - ollama | ||||||
|       - ollama-webui-db |       # - ollama-webui-db | ||||||
|     ports: |     ports: | ||||||
|       - 3000:8080 |       - 3000:8080 | ||||||
|     environment: |     environment: | ||||||
|  |  | ||||||
|  | @ -133,7 +133,7 @@ | ||||||
| 							throw data.detail; | 							throw data.detail; | ||||||
| 						} | 						} | ||||||
| 						if (data.status) { | 						if (data.status) { | ||||||
| 							if (!data.status.includes('downloading')) { | 							if (!data.digest) { | ||||||
| 								toast.success(data.status); | 								toast.success(data.status); | ||||||
| 							} else { | 							} else { | ||||||
| 								digest = data.digest; | 								digest = data.digest; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek