mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix(source): fixed attestation layout (#180)
* fixed attestation layout * fixed for attestations on other map instances --------- Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
77f596fd76
commit
31f0dd7a81
@ -150,29 +150,41 @@ export const TabsView = ({
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<Link to={'/item/' + getUserProfile(a.user_created.id)?.id}>
|
{getUserProfile(a.user_created.id) ? (
|
||||||
<div className='flex items-center gap-3'>
|
<Link to={'/item/' + getUserProfile(a.user_created.id)?.id}>
|
||||||
<div className='tw-avatar'>
|
<div className='flex items-center gap-3'>
|
||||||
<div className='tw-mask tw-rounded-full h-8 w-8 tw-mr-2'>
|
<div className='tw-avatar'>
|
||||||
<img
|
<div className='tw-mask tw-rounded-full tw-h-8 tw-w-8 tw-mr-2'>
|
||||||
src={
|
{getUserProfile(a.user_created.id)?.image && (
|
||||||
appState.assetsApi.url +
|
<img
|
||||||
getUserProfile(a.user_created.id)?.image
|
src={
|
||||||
}
|
appState.assetsApi.url +
|
||||||
alt='Avatar'
|
getUserProfile(a.user_created.id)?.image
|
||||||
/>
|
}
|
||||||
|
alt='Avatar'
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div className='font-bold'>
|
||||||
|
{getUserProfile(a.user_created.id)?.name ??
|
||||||
|
a.user_created.first_name}{' '}
|
||||||
|
</div>
|
||||||
|
<div className='tw-text-xs opacity-50 tw-text-zinc-500'>
|
||||||
|
{timeAgo(a.date_created)}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
</Link>
|
||||||
<div className='font-bold'>
|
) : (
|
||||||
{getUserProfile(a.user_created.id)?.name}
|
<div>
|
||||||
</div>
|
<div className='font-bold'>{a.user_created.first_name} </div>
|
||||||
<div className='tw-text-xs opacity-50 tw-text-zinc-500'>
|
<div className='tw-text-xs opacity-50 tw-text-zinc-500'>
|
||||||
{timeAgo(a.date_created)}
|
{timeAgo(a.date_created)}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user