Fixes: Loading indicator on search screen load

Fixes: Unscrollable dropdowns with large datasets
This commit is contained in:
Tom Moor
2019-04-23 07:51:02 -07:00
parent da7fdfef0a
commit a35a047cc2
2 changed files with 13 additions and 5 deletions

View File

@@ -53,7 +53,10 @@ class Search extends React.Component<Props> {
componentDidMount() {
this.handleTermChange();
this.handleQueryChange();
if (this.props.location.search) {
this.handleQueryChange();
}
}
componentDidUpdate(prevProps) {