"test/ut/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "1896212902bd8d1fa11c5df6c8e1fe38ae4b5392"
Unverified Commit 3f164ecf authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #145 from ollama-webui/dev

fix: user profile image for disabled auth
parents 055bc7a8 40653669
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
<div class=" flex w-full"> <div class=" flex w-full">
<div class=" mr-4"> <div class=" mr-4">
{#if message.role === 'user'} {#if message.role === 'user'}
{#if $config === null} {#if $config === null || !($config?.auth ?? true)}
<img <img
src="{$settings.gravatarUrl ? $settings.gravatarUrl : '/user'}.png" src="{$settings.gravatarUrl ? $settings.gravatarUrl : '/user'}.png"
class=" max-w-[28px] object-cover rounded-full" class=" max-w-[28px] object-cover rounded-full"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment