fix: custom modelfile image placeholder

This commit is contained in:
Timothy J. Baek 2024-01-04 19:34:21 -08:00
parent 6fb036711b
commit 2fedd42e12

View File

@ -27,7 +27,7 @@
>
{#if model in modelfiles}
<img
src={modelfiles[model]?.imageUrl}
src={modelfiles[model]?.imageUrl ?? '/ollama-dark.png'}
alt="modelfile"
class=" w-20 mb-2 rounded-full {models.length > 1
? ' border-[5px] border-white dark:border-gray-800'