forked from open-webui/open-webui
fix: user profile image for disabled auth
This commit is contained in:
parent
e70cff67c2
commit
40653669f6
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