diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx index c11cdaa5ec36..12f40f1efe3c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx @@ -164,19 +164,8 @@ export const PrivateSources: React.FC = () => { ); - const PAGE_TITLE = canCreatePersonalSources - ? PRIVATE_CAN_CREATE_PAGE_TITLE - : PRIVATE_VIEW_ONLY_PAGE_TITLE; - const PAGE_DESCRIPTION = canCreatePersonalSources - ? PRIVATE_CAN_CREATE_PAGE_DESCRIPTION - : PRIVATE_VIEW_ONLY_PAGE_DESCRIPTION; - - const pageHeader = ; - return ( - {/* TODO: Figure out with design how to make this look better w/o 2 ViewContentHeaders */} - {pageHeader} {hasPrivateSources && !hasPlatinumLicense && licenseCallout} {canAddSources && sourcesHeader} {canCreatePersonalSources && privateSources}