Ver código fonte

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

Explore: Stop scanning when clear all button is clicked
David 7 anos atrás
pai
commit
a69ab2fb3a
1 arquivos alterados com 1 adições e 0 exclusões
  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 => ({