forked from open-webui/open-webui
		
	fix: custom modelfile url search param
This commit is contained in:
		
							parent
							
								
									8cd93a4e1e
								
							
						
					
					
						commit
						a25761a423
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -98,7 +98,7 @@ | |||
| 				<div class=" flex space-x-4 cursor-pointer w-full mb-3"> | ||||
| 					<a | ||||
| 						class=" flex flex-1 space-x-4 cursor-pointer w-full" | ||||
| 						href={`/?models=${modelfile.tagName}`} | ||||
| 						href={`/?models=${encodeURIComponent(modelfile.tagName)}`} | ||||
| 					> | ||||
| 						<div class=" self-center w-10"> | ||||
| 							<div class=" rounded-full bg-stone-700"> | ||||
|  | @ -121,7 +121,7 @@ | |||
| 						<a | ||||
| 							class="self-center w-fit text-sm px-2 py-2 border dark:border-gray-600 rounded-xl" | ||||
| 							type="button" | ||||
| 							href={`/modelfiles/edit?tag=${modelfile.tagName}`} | ||||
| 							href={`/modelfiles/edit?tag=${encodeURIComponent(modelfile.tagName)}`} | ||||
| 						> | ||||
| 							<svg | ||||
| 								xmlns="http://www.w3.org/2000/svg" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek