forked from open-webui/open-webui
fix: custom modelfile image placeholder
This commit is contained in:
parent
6fb036711b
commit
2fedd42e12
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
>
|
>
|
||||||
{#if model in modelfiles}
|
{#if model in modelfiles}
|
||||||
<img
|
<img
|
||||||
src={modelfiles[model]?.imageUrl}
|
src={modelfiles[model]?.imageUrl ?? '/ollama-dark.png'}
|
||||||
alt="modelfile"
|
alt="modelfile"
|
||||||
class=" w-20 mb-2 rounded-full {models.length > 1
|
class=" w-20 mb-2 rounded-full {models.length > 1
|
||||||
? ' border-[5px] border-white dark:border-gray-800'
|
? ' border-[5px] border-white dark:border-gray-800'
|
||||||
|
|
Loading…
Reference in a new issue