Sfoglia il codice sorgente

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

Explore: Stop scanning when clear all button is clicked
David 7 anni fa
parent
commit
a69ab2fb3a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 => ({