"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "14eb667fc8b332d1d8027aee510a4d2a40edb93a"
Commit 2fedd42e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: custom modelfile image placeholder

parent 6fb03671
...@@ -27,7 +27,7 @@ ...@@ -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'
......
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