feat(gif-mood): hide empty sections for participants without GIFs
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m11s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m11s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -310,6 +310,9 @@ export function GifMoodBoard({
|
|||||||
const isHidden = userRatingEntry?.hidden ?? false;
|
const isHidden = userRatingEntry?.hidden ?? false;
|
||||||
const showHidden = !isCurrentUser && isHidden;
|
const showHidden = !isCurrentUser && isHidden;
|
||||||
|
|
||||||
|
// Skip participants who haven't added any GIFs yet (except current user)
|
||||||
|
if (!isCurrentUser && userItems.length === 0) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section key={user.id}>
|
<section key={user.id}>
|
||||||
{/* Section header */}
|
{/* Section header */}
|
||||||
|
|||||||
Reference in New Issue
Block a user