Fix: Editing a poll will silently change it to a closed poll (#9809)
* add failing test case * dont reset poll disclosure on editing
This commit is contained in:
@@ -138,7 +138,7 @@ export default class PollCreateDialog extends ScrollableBaseModal<IProps, IState
|
||||
const pollStart = PollStartEvent.from(
|
||||
this.state.question.trim(),
|
||||
this.state.options.map((a) => a.trim()).filter((a) => !!a),
|
||||
this.state.kind,
|
||||
this.state.kind.name,
|
||||
).serialize();
|
||||
|
||||
if (!this.props.editingMxEvent) {
|
||||
|
||||
Reference in New Issue
Block a user