mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-25 20:27:44 +02:00
Show full list of participants on mobile view (#193)
This commit is contained in:
parent
53fa823857
commit
4ce5a1990e
23 changed files with 340 additions and 209 deletions
|
@ -124,7 +124,7 @@ export const PollContextProvider: React.VoidFunctionComponent<{
|
|||
participantsByOptionId[option.id] = (participants ?? []).filter(
|
||||
(participant) =>
|
||||
participant.votes.some(
|
||||
({ type, optionId }) => optionId === option.id && type !== "no",
|
||||
({ type, optionId }) => optionId === option.id && type === "yes",
|
||||
),
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue