Просмотр исходного кода

stop scanning when clear all button is clicked

Erik Sundell 7 лет назад
Родитель
Сommit
f8cef73b5b
1 измененных файлов с 1 добавлено и 0 удалено
  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 = () => {
   onClickClear = () => {
+    this.onStopScanning();
     this.modifiedQueries = ensureQueries();
     this.modifiedQueries = ensureQueries();
     this.setState(
     this.setState(
       prevState => ({
       prevState => ({