mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 16:28:08 +01:00
Web UI: Allow creating polls with only one option
This commit is contained in:
parent
f991e35cb2
commit
e354a296c1
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ const initialState = ImmutableMap({
|
|||
});
|
||||
|
||||
const initialPoll = ImmutableMap({
|
||||
options: ImmutableList(['', '']),
|
||||
options: ImmutableList(['']),
|
||||
expires_in: 24 * 3600,
|
||||
multiple: false,
|
||||
});
|
||||
|
|
|
@ -94,7 +94,7 @@ const initialState = ImmutableMap({
|
|||
});
|
||||
|
||||
const initialPoll = ImmutableMap({
|
||||
options: ImmutableList(['', '']),
|
||||
options: ImmutableList(['']),
|
||||
expires_in: 24 * 3600,
|
||||
multiple: false,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue