fixed bug in deviceProps.js
This commit is contained in:
parent
3014b73323
commit
0252870c70
@ -43,7 +43,9 @@ export default function mapStateToProps(state, ownProps) {
|
|||||||
get device() {
|
get device() {
|
||||||
return getDevice(state, ownProps);
|
return getDevice(state, ownProps);
|
||||||
},
|
},
|
||||||
get roomName() {},
|
get roomName() {
|
||||||
|
return getRoomName(state, ownProps);
|
||||||
|
},
|
||||||
get type() {
|
get type() {
|
||||||
return getDevice(state, ownProps).kind;
|
return getDevice(state, ownProps).kind;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user