mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-07 14:46:55 +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({
|
const initialPoll = ImmutableMap({
|
||||||
options: ImmutableList(['', '']),
|
options: ImmutableList(['']),
|
||||||
expires_in: 24 * 3600,
|
expires_in: 24 * 3600,
|
||||||
multiple: false,
|
multiple: false,
|
||||||
});
|
});
|
||||||
|
|
|
@ -94,7 +94,7 @@ const initialState = ImmutableMap({
|
||||||
});
|
});
|
||||||
|
|
||||||
const initialPoll = ImmutableMap({
|
const initialPoll = ImmutableMap({
|
||||||
options: ImmutableList(['', '']),
|
options: ImmutableList(['']),
|
||||||
expires_in: 24 * 3600,
|
expires_in: 24 * 3600,
|
||||||
multiple: false,
|
multiple: false,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue