Parcourir la source

stop scanning when clear all button is clicked

Erik Sundell il y a 7 ans
Parent
commit
f8cef73b5b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      public/app/features/explore/Explore.tsx

+ 1 - 0
public/app/features/explore/Explore.tsx

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