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.
This commit is contained in:
parent
cf2f8b0dcc
commit
8c8a3fb63c
|
@ -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 = <ViewContentHeader title={PAGE_TITLE} description={PAGE_DESCRIPTION} />;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SourcesView>
|
<SourcesView>
|
||||||
{/* TODO: Figure out with design how to make this look better w/o 2 ViewContentHeaders */}
|
|
||||||
{pageHeader}
|
|
||||||
{hasPrivateSources && !hasPlatinumLicense && licenseCallout}
|
{hasPrivateSources && !hasPlatinumLicense && licenseCallout}
|
||||||
{canAddSources && sourcesHeader}
|
{canAddSources && sourcesHeader}
|
||||||
{canCreatePersonalSources && privateSources}
|
{canCreatePersonalSources && privateSources}
|
||||||
|
|
Loading…
Reference in a new issue