From d9948c43f2b5e5aac1fea965f427555443c725bf Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Wed, 12 Jan 2022 10:42:58 +0300 Subject: [PATCH] [Discover] fix encoded param for context --- .../discover/public/application/context/context_app_route.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/discover/public/application/context/context_app_route.tsx b/src/plugins/discover/public/application/context/context_app_route.tsx index b58bbebcd0973..d81b540418f99 100644 --- a/src/plugins/discover/public/application/context/context_app_route.tsx +++ b/src/plugins/discover/public/application/context/context_app_route.tsx @@ -27,6 +27,7 @@ export function ContextAppRoute(props: DiscoverRouteProps) { const { chrome } = services; const { indexPatternId, id } = useParams(); + const anchorId = decodeURIComponent(id); const breadcrumb = useMainRouteBreadcrumb(); useEffect(() => { @@ -68,5 +69,5 @@ export function ContextAppRoute(props: DiscoverRouteProps) { return ; } - return ; + return ; }