From 08d43fd8933865be85c031278db9a8138281676c Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Wed, 27 Oct 2021 20:55:23 -0400 Subject: [PATCH] [Fleet] Fix back button when adding integration from multiple integrations package (#116352) --- .../integrations/sections/epm/screens/detail/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx index 6e3eba19c52e3..c8c6f49356810 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx @@ -271,6 +271,7 @@ export function Detail() { { path: pagePathGetters.integration_details_policies({ pkgkey, + ...(integration ? { integration } : {}), })[1], }, ]; @@ -289,6 +290,7 @@ export function Detail() { { path: pagePathGetters.integration_details_overview({ pkgkey, + ...(integration ? { integration } : {}), })[1], }, ],