fix bug: submitting regular filter modal with Enter key

pr-2841
Robert Joonas 4 years ago
parent bd8fcffcf2
commit b96b2d402d

@ -32,7 +32,8 @@ class RegularFilterModal extends React.Component {
super(props)
const query = parseQuery(props.location.search, props.site)
const formState = getFormState(props.filterGroup, query)
this.handleKeydown = this.handleKeydown.bind(this)
this.state = { query, formState }
}

Loading…
Cancel
Save