forked from open-webui/open-webui
		
	fix: model list update after save
This commit is contained in:
		
							parent
							
								
									b7f3607f48
								
							
						
					
					
						commit
						044ee2a78c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -12,6 +12,7 @@
 | 
			
		|||
	const saveSettings = async (updated) => {
 | 
			
		||||
		console.log(updated);
 | 
			
		||||
		await settings.set({ ...$settings, ...updated });
 | 
			
		||||
		await models.set(await getModels());
 | 
			
		||||
		localStorage.setItem('settings', JSON.stringify($settings));
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue