Skip to content

Commit 0ef500d

Browse files
authored
Merge pull request #1516 from maxceem/issue-1511
Issue #1511 - Hide "Profile" and "System" from Settings section
2 parents fb42acd + 315f0ac commit 0ef500d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/routes/settings/components/SettingsToolBar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const SettingsToolBar = () => (
99
<SectionTopBar
1010
title="Profile and Settings"
1111
menu={[
12-
<NavLink key="profile" to="/settings/profile">Profile</NavLink>,
13-
<NavLink key="system" to="/settings/system">System</NavLink>,
12+
// <NavLink key="profile" to="/settings/profile">Profile</NavLink>,
13+
// <NavLink key="system" to="/settings/system">System</NavLink>,
1414
<NavLink key="notifications" to="/settings/notifications">Notifications</NavLink>
1515
]}
1616
/>

src/routes/settings/routes.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import ProfileSettingsContainer from './routes/profile/containers/ProfileSetting
1212

1313
export default (
1414
<Switch>
15-
<Route path="/settings/profile" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <ProfileSettingsContainer />)} />
16-
<Route path="/settings/system" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <SystemSettingsContainer />)} />
15+
{/*<Route path="/settings/profile" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <ProfileSettingsContainer />)} />*/}
16+
{/*<Route path="/settings/system" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <SystemSettingsContainer />)} />*/}
1717
<Route path="/settings/notifications" render={renderApp(<TopBarContainer toolbar={SettingsToolBar} />, <NotificationSettingsContainer />)} />
1818
</Switch>
1919
)

0 commit comments

Comments
 (0)