fix #54: support multi-select polls
All checks were successful
/ depoly (push) Successful in 1m25s
All checks were successful
/ depoly (push) Successful in 1m25s
This commit is contained in:
parent
1f77da4dbe
commit
45c03f9fce
2 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
import {
|
||||
batch,
|
||||
createRenderEffect,
|
||||
createSelector,
|
||||
createSignal,
|
||||
Index,
|
||||
|
@ -173,6 +172,7 @@ const TootPoll: Component<TootPollProps> = (props) => {
|
|||
<TootPollDialog
|
||||
open={showVoteDialog()}
|
||||
options={poll().options}
|
||||
multiple={poll().multiple}
|
||||
onVote={[vote, props.status]}
|
||||
onClose={() => setShowVoteDialog(false)}
|
||||
initialVotes={[initialVote()]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue