Hide navigation links that haven't been built out yet
This commit is contained in:
parent
81bd67cc76
commit
39f1392eee
1 changed files with 4 additions and 4 deletions
|
@ -37,8 +37,8 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>)
|
||||||
<NavLink to={`${match.url}`} exact>Console</NavLink>
|
<NavLink to={`${match.url}`} exact>Console</NavLink>
|
||||||
<NavLink to={`${match.url}/files`}>File Manager</NavLink>
|
<NavLink to={`${match.url}/files`}>File Manager</NavLink>
|
||||||
<NavLink to={`${match.url}/databases`}>Databases</NavLink>
|
<NavLink to={`${match.url}/databases`}>Databases</NavLink>
|
||||||
<NavLink to={`${match.url}/users`}>User Management</NavLink>
|
{/* <NavLink to={`${match.url}/users`}>User Management</NavLink> */}
|
||||||
<NavLink to={`${match.url}/schedules`}>Schedules</NavLink>
|
{/* <NavLink to={`${match.url}/schedules`}>Schedules</NavLink> */}
|
||||||
<NavLink to={`${match.url}/settings`}>Settings</NavLink>
|
<NavLink to={`${match.url}/settings`}>Settings</NavLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -67,8 +67,8 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>)
|
||||||
exact
|
exact
|
||||||
/>
|
/>
|
||||||
<Route path={`${match.path}/databases`} component={DatabasesContainer} exact/>
|
<Route path={`${match.path}/databases`} component={DatabasesContainer} exact/>
|
||||||
<Route path={`${match.path}/users`} component={UsersContainer} exact/>
|
{/* <Route path={`${match.path}/users`} component={UsersContainer} exact/> */}
|
||||||
<Route path={`${match.path}/schedules`} component={ScheduleContainer} exact/>
|
{/* <Route path={`${match.path}/schedules`} component={ScheduleContainer} exact/> */}
|
||||||
<Route path={`${match.path}/settings`} component={SettingsContainer} exact/>
|
<Route path={`${match.path}/settings`} component={SettingsContainer} exact/>
|
||||||
</Switch>
|
</Switch>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
Loading…
Reference in a new issue