refac: profile_image_url optimization
This commit is contained in:
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"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user