Commit f8cef73b by Erik Sundell

stop scanning when clear all button is clicked

parent 9a771555
...@@ -351,6 +351,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> { ...@@ -351,6 +351,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
}; };
onClickClear = () => { onClickClear = () => {
this.onStopScanning();
this.modifiedQueries = ensureQueries(); this.modifiedQueries = ensureQueries();
this.setState( this.setState(
prevState => ({ prevState => ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment