💄 Support @Model display model pictures

This commit is contained in:
Clivia 2024-08-03 10:48:54 +08:00
parent 24a177a149
commit f21e9dbd9a

View File

@ -159,7 +159,12 @@
}} }}
on:focus={() => {}} on:focus={() => {}}
> >
<div class=" font-medium text-black dark:text-gray-100 line-clamp-1"> <div class="flex font-medium text-black dark:text-gray-100 line-clamp-1">
<img
src={model?.info?.meta?.profile_image_url ?? '/static/favicon.png'}
alt="Model"
class="rounded-full size-6 items-center mr-2"
/>
{model.name} {model.name}
</div> </div>