From 2a2aba83f1472bca4b2bcb52117d0e4401856370 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 11 Oct 2023 18:02:19 +0000 Subject: [PATCH] Support reporting in discover (#212) Signed-off-by: Kavitha Conjeevaram Mohan (cherry picked from commit 24aa9f34774563438fe8982ba73ef4a19d9276f1) Signed-off-by: github-actions[bot] --- public/components/context_menu/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/context_menu/context_menu.js b/public/components/context_menu/context_menu.js index f587ab6e..99b9a35f 100644 --- a/public/components/context_menu/context_menu.js +++ b/public/components/context_menu/context_menu.js @@ -254,7 +254,7 @@ const checkURLParams = async () => { const isDiscoverNavMenu = (navMenu) => { return ( - navMenu[0].children.length === 6 && + navMenu[0].children.length === 5 && ($('[data-test-subj="breadcrumb first"]').prop('title') === 'Discover' || $('[data-test-subj="breadcrumb first last"]').prop('title') === 'Discover')