sensor detail items
This commit is contained in:
parent
d5ca790290
commit
f79d59e8cd
|
@ -51,6 +51,7 @@ const reduxConfig: ReduxConfig = {
|
||||||
readAllByTargetReducer,
|
readAllByTargetReducer,
|
||||||
SensorReadReducer,
|
SensorReadReducer,
|
||||||
signUpReducer,
|
signUpReducer,
|
||||||
|
SensorItemReadAllBySensorReducer,
|
||||||
],
|
],
|
||||||
sagaWatchers: [
|
sagaWatchers: [
|
||||||
AsyncRequest,
|
AsyncRequest,
|
||||||
|
|
|
@ -51,7 +51,7 @@ export class SensorDetailItems extends React.Component<Props, State> {
|
||||||
|
|
||||||
<Table.Body>
|
<Table.Body>
|
||||||
{
|
{
|
||||||
this.state.sensorItemList.map((sensorItem: SensorItem, idx: number) => {
|
this.props.sensorItemList ? this.props.sensorItemList.map((sensorItem: SensorItem, idx: number) => {
|
||||||
return (
|
return (
|
||||||
<Table.Row key={idx}>
|
<Table.Row key={idx}>
|
||||||
<Table.Cell>{idx}</Table.Cell>
|
<Table.Cell>{idx}</Table.Cell>
|
||||||
|
@ -60,7 +60,7 @@ export class SensorDetailItems extends React.Component<Props, State> {
|
||||||
<Table.Cell>{sensorItem.item.key}</Table.Cell>
|
<Table.Cell>{sensorItem.item.key}</Table.Cell>
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
);
|
);
|
||||||
})
|
}) : ''
|
||||||
}
|
}
|
||||||
</Table.Body>
|
</Table.Body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user