Skip to content

Commit

Permalink
Update item preview ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 20, 2024
1 parent 3b953f2 commit e1c8eb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/item/ItemPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ const ItemPreviewLarge: FC<{
<ul className="flex items-center gap-2 py-2">{logos}</ul>
)}
</div>
{/* {item?.owner_id && (
<UserProfile user_id={item.owner_id} variant="compact" />
)} */}
</div>
<div className="flex h-full w-full items-end justify-between gap-2 md:w-auto md:flex-col md:justify-end">
{item?.owner_id && (
<UserProfile user_id={item.owner_id} variant="compact" />
)}
{location?.location_user_id == item?.owner_id && (<span className='text-end text-xs leading-tight text-neutral-500'>with owner</span>) }
{location && location.location_user_id != item?.owner_id && (
<div className="w-fit">
Expand Down

0 comments on commit e1c8eb4

Please sign in to comment.