diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx index 83d673e1a3c02..a9856b01b2dde 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx @@ -11,7 +11,6 @@ import { EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { ENTERPRISE_SEARCH_CONTENT_PLUGIN } from '../../../../../../../common/constants'; import { KibanaLogic } from '../../../../../shared/kibana'; import { PLAYGROUND_PATH } from '../../../../routes'; @@ -25,8 +24,7 @@ export const SearchPlaygroundPopover: React.FC = ( indexName, ingestionMethod, }) => { - const playgroundUrl = - ENTERPRISE_SEARCH_CONTENT_PLUGIN.URL + PLAYGROUND_PATH + `?defaultIndexName=${indexName}`; + const playgroundUrl = PLAYGROUND_PATH + `?defaultIndexName=${indexName}`; return ( = ( iconType="eye" onClick={() => { KibanaLogic.values.navigateToUrl(playgroundUrl, { - shouldNotCreateHref: true, + shouldNotCreateHref: false, }); }} >