diff --git a/src/ts/@overflow/app/views/layout/ProbeDetailLayout.tsx b/src/ts/@overflow/app/views/layout/ProbeDetailLayout.tsx index aac769e..c5a87bd 100644 --- a/src/ts/@overflow/app/views/layout/ProbeDetailLayout.tsx +++ b/src/ts/@overflow/app/views/layout/ProbeDetailLayout.tsx @@ -10,6 +10,7 @@ import ProbeDetail from '../../views/monitoring/probe/Detail'; import ProbeHost from '../../views/monitoring/probe/Host'; import ProbeHistory from '../../views/monitoring/probe/History'; import TargetList from '../../views/infrastructure/target/List'; +import HistoryView from '../../views/history/List'; export interface Props extends RouteComponentProps { } @@ -56,7 +57,7 @@ export class ProbeDetailLayout extends React.Component { - + diff --git a/src/ts/@overflow/app/views/layout/TargetDetailLayout.tsx b/src/ts/@overflow/app/views/layout/TargetDetailLayout.tsx index a74ef40..4a13a90 100644 --- a/src/ts/@overflow/app/views/layout/TargetDetailLayout.tsx +++ b/src/ts/@overflow/app/views/layout/TargetDetailLayout.tsx @@ -8,7 +8,7 @@ import LeftMenu from './LeftMenu'; import TargetDetail from '../../views/infrastructure/target/Detail'; import SensorList from '../../views/monitoring/sensor/List'; - +import HistoryView from '../../views/history/List'; export interface Props extends RouteComponentProps { } @@ -36,6 +36,10 @@ export class TargetDetailLayout extends React.Component { 'name': 'Sensor', 'path': this.state.currUrl + '/sensor', }, + { + 'name': 'History', + 'path': this.state.currUrl + '/history', + }, ]; return ( @@ -47,6 +51,7 @@ export class TargetDetailLayout extends React.Component { +