Commit 1640cc58 authored by Noé Gaumont's avatar Noé Gaumont

Fix max groups options

parent b26c530ece7
Pipeline #7005 passed with stages
in 1 minute and 23 seconds
......@@ -85,7 +85,7 @@ export const PollResult: React.FC<PollResultProps> = (props) => {
max_per_group: maxPerGroup.toString(),
});
if (maxGroup) {
searchParameters.set("max_nb_group", maxGroup.toString());
searchParameters.set("max_nb_groups", maxGroup.toString());
}
setGroups(null);
fetch(`/poll/${props.uid}/groups.json?${searchParameters.toString()}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment