fixed bug in deviceProps.js
This commit is contained in:
parent
3014b73323
commit
0252870c70
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue