feat(gif-mood): hide empty sections for participants without GIFs
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:
2026-03-25 16:48:00 +01:00
parent 4cc505c63d
commit 2489de798d

View File

@@ -310,6 +310,9 @@ export function GifMoodBoard({
const isHidden = userRatingEntry?.hidden ?? false;
const showHidden = !isCurrentUser && isHidden;
// Skip participants who haven't added any GIFs yet (except current user)
if (!isCurrentUser && userItems.length === 0) return null;
return (
<section key={user.id}>
{/* Section header */}