"example/vscode:/vscode.git/clone" did not exist on "c57da6ad0ec1ca5b45025c70c29fc5fe90e67ff9"
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