Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Set background for cell when not voted

Luke Vella8a399f0caabf
diff --git a/apps/web/src/components/poll/desktop-poll/participant-row.tsx b/apps/web/src/components/poll/desktop-poll/participant-row.tsx
index 79469dcf3..86fc3a0cb 100644
--- a/apps/web/src/components/poll/desktop-poll/participant-row.tsx
+++ b/apps/web/src/components/poll/desktop-poll/participant-row.tsx
@@ -52,7 +52,7 @@ export const ParticipantRowView: React.FunctionComponent<{
{
"border-green-200 bg-green-50": vote === "yes",
"border-amber-100 bg-amber-50": vote === "ifNeedBe",
- "bg-gray-50": vote === "no",
+ "bg-gray-50": vote === "no" || !vote,
},
)}
>