forked from open-webui/open-webui
Merge pull request #145 from ollama-webui/dev
fix: user profile image for disabled auth
This commit is contained in:
commit
3f164ecf16
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue