Skip to content

Commit

Permalink
feat: show dataCenter for free users (erda-project#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherotree authored and erda-bot committed Aug 1, 2021
1 parent 1fcb917 commit 6a4a37d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions shell/app/layout/pages/page-container/page-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import classnames from 'classnames';
import SideBar from 'layout/pages/page-container/components/sidebar';
import SubSideBar from 'layout/pages/page-container/components/sub-sidebar';
import Header from 'layout/pages/page-container/components/header';
import { NoAuth, NotFound, FreeUserTips } from 'app/layout/common/error-page';
import { NoAuth, NotFound } from 'app/layout/common/error-page';
import { Location } from 'app/interface/common';
import { DndProvider } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend';
Expand Down Expand Up @@ -147,8 +147,6 @@ const PageContainer = ({ route }: IProps) => {
MainContent = <NoAuth />;
} else if (notFound) {
MainContent = <NotFound />;
} else if (isIn('cmp') && currentOrg.type === 'FREE') {
MainContent = <FreeUserTips />;
} else if (state.startInit) {
const Inner = (
<ErrorBoundary>
Expand Down

0 comments on commit 6a4a37d

Please sign in to comment.