forked from open-webui/open-webui
		
	fix: log message
This commit is contained in:
		
							parent
							
								
									dfde45d365
								
							
						
					
					
						commit
						5133ec75e3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -17,7 +17,7 @@ | ||||||
| 		localStorage.setItem('settings', JSON.stringify($settings)); | 		localStorage.setItem('settings', JSON.stringify($settings)); | ||||||
| 
 | 
 | ||||||
| 		if ($user.role === 'admin') { | 		if ($user.role === 'admin') { | ||||||
| 			console.log('admin'); | 			console.log('setting default models globally'); | ||||||
| 			await setDefaultModels(localStorage.token, selectedModels.join(',')); | 			await setDefaultModels(localStorage.token, selectedModels.join(',')); | ||||||
| 		} | 		} | ||||||
| 		toast.success('Default model updated'); | 		toast.success('Default model updated'); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek