Skip to content

Commit

Permalink
[CLD-683] temporarily hide forum page (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatanpham authored Jan 13, 2020
1 parent d299a9f commit eeed38d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
14 changes: 7 additions & 7 deletions src/components/ui/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ export const generateMenuConfig = (
icon: <FaCog className="nav-item-icon" />,
type: 'PRIMARY'
},
{
title: 'Forum',
key: 'FORUM',
url: Routes.FORUM,
icon: <FaComments className="nav-item-icon" />,
type: 'PRIMARY'
},
// {
// title: 'Forum',
// key: 'FORUM',
// url: Routes.FORUM,
// icon: <FaComments className="nav-item-icon" />,
// type: 'PRIMARY'
// },
{
title: 'Help',
key: 'HELP',
Expand Down
13 changes: 0 additions & 13 deletions src/core/__tests__/__snapshots__/router.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -282,19 +282,6 @@ exports[`Router should match a snapshot 1`] = `
fetcher={true}
path="/developer/settings"
/>
<Connect(Component)
allow="DEVELOPER"
component={
Object {
"$$typeof": Symbol(react.lazy),
"_ctor": [Function],
"_result": null,
"_status": -1,
}
}
exact={true}
path="/forum"
/>
<Connect(Component)
allow="DEVELOPER"
component={
Expand Down
2 changes: 1 addition & 1 deletion src/core/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Router = () => (
component={WebComponentsPage}
/>
<PrivateRoute allow="DEVELOPER" path={Routes.SETTINGS} fetcher exact component={SettingsPage} />
<PrivateRoute allow="DEVELOPER" path={Routes.FORUM} exact component={Forum}></PrivateRoute>
{/* <PrivateRoute allow="DEVELOPER" path={Routes.FORUM} exact component={Forum}></PrivateRoute> */}
<PrivateRoute
allow="DEVELOPER"
path={Routes.DEVELOPER_WELCOME}
Expand Down

0 comments on commit eeed38d

Please sign in to comment.