Merge branch 'master' of https://git.loafle.net/overflow/overflow_app
This commit is contained in:
commit
22ab907d59
|
@ -74,7 +74,7 @@ class LeftMenu extends React.Component<Props, State> {
|
||||||
<Header inverted sub icon='tasks' content='Metrics' />
|
<Header inverted sub icon='tasks' content='Metrics' />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
||||||
<Menu.Item name='Alerts' href='/' >
|
<Menu.Item name='Alerts' onClick={(e) => this.props.onChangeUrl('/temp/discovery')}>
|
||||||
<Header inverted sub icon='alarm' content='Alerts' />
|
<Header inverted sub icon='alarm' content='Alerts' />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ import ProbeList from '../monitoring/probe/List';
|
||||||
import ProbeDetail from '../monitoring/probe/Detail';
|
import ProbeDetail from '../monitoring/probe/Detail';
|
||||||
import SensorList from '../monitoring/sensor/List';
|
import SensorList from '../monitoring/sensor/List';
|
||||||
import SensorSetup from '../monitoring/sensor/Setup';
|
import SensorSetup from '../monitoring/sensor/Setup';
|
||||||
|
import Discovery from '../../../temp/react/components/Discovery'
|
||||||
|
|
||||||
export interface Props extends RouteComponentProps<any> {
|
export interface Props extends RouteComponentProps<any> {
|
||||||
}
|
}
|
||||||
|
@ -43,6 +44,7 @@ export class AppLayout extends React.Component<Props, State> {
|
||||||
<Route exact path={`${this.props.match.url}/probe/:id`} component={ProbeDetail} />
|
<Route exact path={`${this.props.match.url}/probe/:id`} component={ProbeDetail} />
|
||||||
<Route exact path={`${this.props.match.url}/sensor_list`} component={SensorList} />
|
<Route exact path={`${this.props.match.url}/sensor_list`} component={SensorList} />
|
||||||
<Route exact path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
<Route exact path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
||||||
|
<Route exact path={`${this.props.match.url}/discovery`} component={Discovery} />
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</Segment>
|
</Segment>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user