fixed device settings on scenes

This commit is contained in:
britea 2020-04-27 16:58:55 +02:00
parent 23ad5e2ff3
commit 71d9731fc7

View file

@ -157,7 +157,7 @@ class Device extends React.Component {
</Grid.Column> </Grid.Column>
)} )}
</Grid> </Grid>
{this.props.stateOrDevice ? ( {this.props.stateOrDevice && this.props.tab === "Devices" ? (
<DeviceSettingsModal <DeviceSettingsModal
ref={this.modalRef} ref={this.modalRef}
id={this.props.stateOrDevice.id} id={this.props.stateOrDevice.id}