Web UI: Allow creating polls with only one option

This commit is contained in:
Jeremy Kescher 2022-08-12 21:17:29 +02:00
parent f991e35cb2
commit e354a296c1
No known key found for this signature in database
GPG key ID: 48DFE4BB15BA5940
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ const initialState = ImmutableMap({
});
const initialPoll = ImmutableMap({
options: ImmutableList(['', '']),
options: ImmutableList(['']),
expires_in: 24 * 3600,
multiple: false,
});

View file

@ -94,7 +94,7 @@ const initialState = ImmutableMap({
});
const initialPoll = ImmutableMap({
options: ImmutableList(['', '']),
options: ImmutableList(['']),
expires_in: 24 * 3600,
multiple: false,
});