fixed bug in deviceProps.js

This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-03 18:11:04 +02:00
parent 3014b73323
commit 0252870c70

View File

@ -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;
}, },