stop scanning when clear all button is clicked

This commit is contained in:
Erik Sundell 2018-12-04 11:28:04 +01:00
parent 9a771555f3
commit f8cef73b5b

View File

@ -351,6 +351,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
};
onClickClear = () => {
this.onStopScanning();
this.modifiedQueries = ensureQueries();
this.setState(
prevState => ({