fixed sensor
This commit is contained in:
parent
7a7f500185
commit
a70115d86a
|
@ -29,7 +29,7 @@ class SensorDetailLayout extends React.Component<Props, State> {
|
|||
const sub = [
|
||||
{
|
||||
'name': 'Info',
|
||||
'path': this.state.currUrl + '/info',
|
||||
'path': this.state.currUrl,
|
||||
},
|
||||
{
|
||||
'name': 'Items',
|
||||
|
|
|
@ -38,7 +38,7 @@ export class SensorDetailInfo extends React.Component<SensorDetailInfoProps, Sen
|
|||
}
|
||||
|
||||
public handleBack(event: any, data: any): void {
|
||||
this.props.onBack();
|
||||
// this.props.onBack();
|
||||
}
|
||||
|
||||
public componentWillMount(): void {
|
||||
|
@ -57,7 +57,7 @@ export class SensorDetailInfo extends React.Component<SensorDetailInfoProps, Sen
|
|||
public render(): JSX.Element {
|
||||
return (
|
||||
<Container fluid>
|
||||
<Header as='h3' dividing>Sensor Details</Header>
|
||||
|
||||
|
||||
<Table celled>
|
||||
<Table.Body>
|
||||
|
|
|
@ -122,7 +122,6 @@ export class SensorList extends React.Component<SensorListProps, SensorListState
|
|||
public render(): JSX.Element {
|
||||
return (
|
||||
<Container fluid>
|
||||
<Header as='h3' dividing>Sensors</Header>
|
||||
<Table celled selectable striped>
|
||||
<Table.Header>
|
||||
<Table.Row>
|
||||
|
|
Loading…
Reference in New Issue
Block a user