Hide navigation links that haven't been built out yet

This commit is contained in:
Dane Everitt 2019-12-09 22:07:21 -08:00
parent 81bd67cc76
commit 39f1392eee
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
1 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>)
<NavLink to={`${match.url}`} exact>Console</NavLink>
<NavLink to={`${match.url}/files`}>File Manager</NavLink>
<NavLink to={`${match.url}/databases`}>Databases</NavLink>
<NavLink to={`${match.url}/users`}>User Management</NavLink>
<NavLink to={`${match.url}/schedules`}>Schedules</NavLink>
{/* <NavLink to={`${match.url}/users`}>User Management</NavLink> */}
{/* <NavLink to={`${match.url}/schedules`}>Schedules</NavLink> */}
<NavLink to={`${match.url}/settings`}>Settings</NavLink>
</div>
</div>
@ -67,8 +67,8 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>)
exact
/>
<Route path={`${match.path}/databases`} component={DatabasesContainer} exact/>
<Route path={`${match.path}/users`} component={UsersContainer} exact/>
<Route path={`${match.path}/schedules`} component={ScheduleContainer} exact/>
{/* <Route path={`${match.path}/users`} component={UsersContainer} exact/> */}
{/* <Route path={`${match.path}/schedules`} component={ScheduleContainer} exact/> */}
<Route path={`${match.path}/settings`} component={SettingsContainer} exact/>
</Switch>
</React.Fragment>