Skip to content

Commit

Permalink
fix(dashboard): missing user_id on users page
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunoT committed Sep 30, 2024
1 parent 521b1d7 commit abbad70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MediaItem/MediaItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default function MediaItem({
'hidden lg:flex',
isUserDashboard
? i === 4 &&
items[5] &&
String(items[5].user_id) === loggedInUserId &&
'hidden lg:flex'
: i > 4 && 'hidden lg:flex',
Expand Down

0 comments on commit abbad70

Please sign in to comment.