fix: user profile image for disabled auth

This commit is contained in:
Timothy J. Baek 2023-11-25 11:03:58 -08:00
parent e70cff67c2
commit 40653669f6

View file

@ -314,7 +314,7 @@
<div class=" flex w-full">
<div class=" mr-4">
{#if message.role === 'user'}
{#if $config === null}
{#if $config === null || !($config?.auth ?? true)}
<img
src="{$settings.gravatarUrl ? $settings.gravatarUrl : '/user'}.png"
class=" max-w-[28px] object-cover rounded-full"