test
This commit is contained in:
parent
9f8cfe93f0
commit
e2c180b78e
26
src/ts/@overflow/app/views/monitoring/probe/Detail.tsx
Normal file
26
src/ts/@overflow/app/views/monitoring/probe/Detail.tsx
Normal file
|
@ -0,0 +1,26 @@
|
|||
import * as React from 'react';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import ProbeDetailContainer from '@overflow/probe/react/ProbeDetail';
|
||||
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
|
||||
import AppContext from '@overflow/commons/context';
|
||||
import inject from '@overflow/commons/context/decorator/inject';
|
||||
|
||||
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
|
||||
@inject()
|
||||
private client: WebSocketRPC;
|
||||
|
||||
public constructor(props?: RouteComponentProps<object>, context?: object) {
|
||||
super(props, context);
|
||||
|
||||
let con = AppContext.get<WebSocketRPC>();
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
<ProbeDetailContainer/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default ProbeList;
|
|
@ -0,0 +1,26 @@
|
|||
import * as React from 'react';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import NoauthProbeListContainer from '@overflow/noauthprobe/react/NoauthProbeList';
|
||||
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
|
||||
import AppContext from '@overflow/commons/context';
|
||||
import inject from '@overflow/commons/context/decorator/inject';
|
||||
|
||||
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
|
||||
@inject()
|
||||
private client: WebSocketRPC;
|
||||
|
||||
public constructor(props?: RouteComponentProps<object>, context?: object) {
|
||||
super(props, context);
|
||||
|
||||
let con = AppContext.get<WebSocketRPC>();
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
<NoauthProbeListContainer/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default ProbeList;
|
|
@ -0,0 +1,26 @@
|
|||
import * as React from 'react';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import ProbeDownContainer from '@overflow/probe/react/ProbeDown';
|
||||
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
|
||||
import AppContext from '@overflow/commons/context';
|
||||
import inject from '@overflow/commons/context/decorator/inject';
|
||||
|
||||
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
|
||||
@inject()
|
||||
private client: WebSocketRPC;
|
||||
|
||||
public constructor(props?: RouteComponentProps<object>, context?: object) {
|
||||
super(props, context);
|
||||
|
||||
let con = AppContext.get<WebSocketRPC>();
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
<ProbeDownContainer/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default ProbeList;
|
|
@ -31,10 +31,6 @@ export class ProbeDetail extends React.Component<Props, State> {
|
|||
};
|
||||
}
|
||||
|
||||
public componentWillMount(): void {
|
||||
super.componentWillMount();
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
<Container fluid>
|
||||
|
|
|
@ -35,7 +35,6 @@ export class ProbeList extends React.Component<Props, State> {
|
|||
}
|
||||
|
||||
public componentWillMount(): void {
|
||||
super.componentWillMount();
|
||||
this.data = [
|
||||
{
|
||||
'id': '11',
|
||||
|
|
Loading…
Reference in New Issue
Block a user