Switching from hosts to events
This commit is contained in:
1 parent
3cd9329042
commit
563d4433e3
8 files changed
+27
-27
No files matched your search
+3
-3
@@ -15,7 +15,7 @@ import { Header, Footer, Home, Charts, Callback } from './views'
|
||||
|
||||
import Users from '@advancedalgos/users-client'
|
||||
import Teams from '@advancedalgos/teams-client'
|
||||
import Hosts from '@advancedalgos/hosts-client'
|
||||
import Events from '@advancedalgos/events-client'
|
||||
import KeyVault from '@advancedalgos/key-vault-client'
|
||||
|
||||
export const auth = new Auth(
|
||||
@@ -51,8 +51,8 @@ export const MasterApp = () => (
|
||||
render={props => <Teams {...props} auth={auth} />}
|
||||
/>
|
||||
<Route
|
||||
path='/hosts'
|
||||
render={props => <Hosts {...props} auth={auth} />}
|
||||
path='/events'
|
||||
render={props => <Events {...props} auth={auth} />}
|
||||
/>
|
||||
<Route
|
||||
path='/key-vault'
|
||||
|
||||
@@ -26,7 +26,7 @@ import AALogo from '../../assets/advanced-algos/aa-logo-dark.svg'
|
||||
const ChartsLink = props => <Link to='/charts' {...props} />
|
||||
const UsersLink = props => <Link to='/users' {...props} />
|
||||
const TeamsLink = props => <Link to='/teams' {...props} />
|
||||
const HostsLink = props => <Link to='/hosts' {...props} />
|
||||
const EventsLink = props => <Link to='/events' {...props} />
|
||||
const KeyVaultLink = props => <Link to='/key-vault' {...props} />
|
||||
const HomeLink = props => <Link to='/' {...props} />
|
||||
|
||||
@@ -117,7 +117,7 @@ class Header extends Component {
|
||||
<Button component={TeamsLink} color='inherit'>
|
||||
Teams
|
||||
</Button>
|
||||
<Button component={HostsLink} color='inherit'>
|
||||
<Button component={EventsLink} color='inherit'>
|
||||
Hosts
|
||||
</Button>
|
||||
<Button component={KeyVaultLink} color='inherit'>
|
||||
|
||||
Reference in new issue
Block a user