Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
40653669
Commit
40653669
authored
Nov 25, 2023
by
Timothy J. Baek
Browse files
fix: user profile image for disabled auth
parent
e70cff67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+1
-1
No files found.
src/lib/components/chat/Messages.svelte
View file @
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment