forked from open-webui/open-webui
		
	feat: use display name if it exists
This commit is contained in:
		
							parent
							
								
									9de56550ab
								
							
						
					
					
						commit
						b1081c2c81
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -325,7 +325,11 @@ | ||||||
| 				</div> | 				</div> | ||||||
| 				{#if selectedModelfile.user} | 				{#if selectedModelfile.user} | ||||||
| 					<div class="mt-0.5 text-sm font-normal text-gray-500 dark:text-gray-500"> | 					<div class="mt-0.5 text-sm font-normal text-gray-500 dark:text-gray-500"> | ||||||
| 						By <a href="https://ollamahub.com/">@{selectedModelfile.user.username}</a> | 						By <a href="https://ollamahub.com/" | ||||||
|  | 							>{selectedModelfile.user.name | ||||||
|  | 								? selectedModelfile.user.name | ||||||
|  | 								: `@${selectedModelfile.user.username}`}</a | ||||||
|  | 						> | ||||||
| 					</div> | 					</div> | ||||||
| 				{/if} | 				{/if} | ||||||
| 			{:else} | 			{:else} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek