[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 <elasticmachine@users.noreply.github.com>
This commit is contained in:
Rodney Norris 2024-12-10 10:31:08 -06:00 committed by GitHub
parent 5a67a033a3
commit 65b00793d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',
});
}