fixed sensorlist
This commit is contained in:
parent
6bd41d7355
commit
a44d4a0c73
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react';
|
||||
import { Table, Button, Header, Container } from 'semantic-ui-react';
|
||||
import SensorDetailContainer from '../SensorDetail';
|
||||
import { ListContainer } from '@overflow/commons/react/component/ListContainer';
|
||||
|
||||
import Probe from '@overflow/probe/api/model/Probe';
|
||||
import Sensor from '@overflow/sensor/api/model/Sensor';
|
||||
|
@ -120,7 +120,8 @@ export class SensorList extends React.Component<SensorListProps, SensorListState
|
|||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
|
||||
let sensorList: JSX.Element = (
|
||||
<Container fluid>
|
||||
<Table celled selectable striped>
|
||||
<Table.Header>
|
||||
|
@ -154,6 +155,14 @@ export class SensorList extends React.Component<SensorListProps, SensorListState
|
|||
|
||||
</Container>
|
||||
);
|
||||
|
||||
return (
|
||||
<ListContainer
|
||||
contents={sensorList}
|
||||
data={this.data}
|
||||
/>
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user