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