From 8c8a3fb63c08154fbbdbe44533a8dd8ec6b265da Mon Sep 17 00:00:00 2001 From: scottybollinger Date: Thu, 21 Jan 2021 09:59:14 -0600 Subject: [PATCH] Remove legacy sidebar text When I first migrated this, I left the sidebar copy in so that it was not aboandoned before the design pass. After talking with John we decided to just use the copy to the right of the sidebar so this drops that legacy copy. --- .../views/content_sources/private_sources.tsx | 11 ----------- 1 file changed, 11 deletions(-) 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}