diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/generate_api_key_panel.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/generate_api_key_panel.tsx index 50259cc0c53cb..be81b8a12131e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/generate_api_key_panel.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/generate_api_key_panel.tsx @@ -54,7 +54,7 @@ export const GenerateApiKeyPanel: React.FC = () => { )} - + diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx index 691ecd973a910..7267f52680b2b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx @@ -51,9 +51,15 @@ export const SearchIndexOverview: React.FC = () => { } /> )} - {isApi && } + {isApi && ( + <> + + + + )} {isCrawler && ( <> + diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/total_stats.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/total_stats.tsx index 4324a99ac5a2a..318fa3f988941 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/total_stats.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/total_stats.tsx @@ -13,8 +13,6 @@ import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiStat, EuiStatProps } from '@ela import { i18n } from '@kbn/i18n'; -import { CustomFormattedTimestamp } from '../../../shared/custom_formatted_timestamp/custom_formatted_timestamp'; - import { OverviewLogic } from './overview.logic'; interface TotalStatsProps { @@ -26,9 +24,6 @@ interface TotalStatsProps { export const TotalStats: React.FC = ({ ingestionType, additionalItems = [] }) => { const { indexData, isSuccess } = useValues(OverviewLogic); const documentCount = indexData?.total.docs.count ?? 0; - const lastUpdated = ( - - ); const isLoading = !isSuccess; const stats: EuiStatProps[] = [ { @@ -51,16 +46,6 @@ export const TotalStats: React.FC = ({ ingestionType, additiona isLoading, title: documentCount, }, - { - description: i18n.translate( - 'xpack.enterpriseSearch.content.searchIndex.totalStats.lastUpdatedCardLabel', - { - defaultMessage: 'Last updated', - } - ), - isLoading, - title: lastUpdated, - }, ...additionalItems, ];