mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
feat: use display name if it exists
This commit is contained in:
parent
9de56550ab
commit
b1081c2c81
@ -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…
Reference in New Issue
Block a user