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