Explorar el Código

Merge pull request #14299 from grafana/14273-clear-scanning

Explore: Stop scanning when clear all button is clicked
David hace 7 años
padre
commit
a69ab2fb3a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 => ({