From 6cd3e89135e111b752d4a926c0ece7e9ded754ef Mon Sep 17 00:00:00 2001 From: Eric Wei Date: Wed, 9 Mar 2022 17:43:48 -0800 Subject: [PATCH] fix query clicking issue (#569) Signed-off-by: Eric Wei --- .../public/components/explorer/log_explorer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboards-observability/public/components/explorer/log_explorer.tsx b/dashboards-observability/public/components/explorer/log_explorer.tsx index ae9772e38..f16931fdf 100644 --- a/dashboards-observability/public/components/explorer/log_explorer.tsx +++ b/dashboards-observability/public/components/explorer/log_explorer.tsx @@ -50,7 +50,9 @@ export const LogExplorer = ({ http, }: ILogExplorerProps) => { const dispatch = useDispatch(); - const tabIds = useSelector(selectQueryTabs).queryTabIds; + const tabIds = useSelector(selectQueryTabs).queryTabIds.filter( + (tabid: string) => !tabid.startsWith('application-analytics-tab') + ); const tabNames = useSelector(selectQueryTabs).tabNames; const queries = useSelector(selectQueries); const curSelectedTabId = useSelector(selectQueryTabs).selectedQueryTab;