From f8cef73b5bf0ce321454f0bb125aed2617ca4793 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Tue, 4 Dec 2018 11:28:04 +0100 Subject: [PATCH] stop scanning when clear all button is clicked --- public/app/features/explore/Explore.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/explore/Explore.tsx b/public/app/features/explore/Explore.tsx index 3e35a68bf84..71e23640bec 100644 --- a/public/app/features/explore/Explore.tsx +++ b/public/app/features/explore/Explore.tsx @@ -351,6 +351,7 @@ export class Explore extends React.PureComponent { }; onClickClear = () => { + this.onStopScanning(); this.modifiedQueries = ensureQueries(); this.setState( prevState => ({