From 6bca6306975a47009de67f608e1c20892395bdfd Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Tue, 10 Dec 2024 10:31:08 -0600 Subject: [PATCH] [Search] fix: ensure App Search is used for classic nav link name (#203490) ## Summary Ensure "App Search" is the name for the app search nav link in classic mode over "Engines" which is the label for the navLink (deepLink) Co-authored-by: Elastic Machine --- .../public/applications/shared/layout/base_nav.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx index 0c1e959f7b507..b2e3fdc01be03 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx @@ -19,7 +19,7 @@ import { import { i18n } from '@kbn/i18n'; import type { ClassicNavItem } from '@kbn/search-navigation/public'; -import { GETTING_STARTED_TITLE } from '../../../../common/constants'; +import { GETTING_STARTED_TITLE, APP_SEARCH_PLUGIN } from '../../../../common/constants'; import { BuildClassicNavParameters } from '../types'; @@ -176,6 +176,7 @@ export const buildBaseClassicNavItems = ({ deepLink: { link: 'appSearch:engines', }, + name: APP_SEARCH_PLUGIN.NAME, id: 'app_search', }); }