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>
|
||||
{#if selectedModelfile.user}
|
||||
<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>
|
||||
{/if}
|
||||
{:else}
|
||||
|
|
Loading…
Reference in a new issue