fixed device settings on scenes
This commit is contained in:
parent
23ad5e2ff3
commit
71d9731fc7
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue