refac: profile_image_url optimization

This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-20 20:43:59 -05:00
1 parent cd30152c83
commit 6442871947
28 files changed
+56 -97

No files matched your search

@@ -171,8 +171,7 @@
</div>
{:else if item.type === 'model'}
<img
src={item?.data?.info?.meta?.profile_image_url ??
`${WEBUI_BASE_URL}/static/favicon.png`}
src={`${WEBUI_API_BASE_URL}/models/model/profile/image?id=${item.id}&lang=${$i18n.language}`}
alt={item?.data?.name ?? item.id}
class="rounded-full size-5 items-center mr-2"
/>