Merge branch '84-small-fix' into 'dev'
fixed device settings on scenes Closes #84 See merge request sa4-2020/the-sanmarinoes/frontend!98
This commit is contained in:
commit
f6c8379fa0
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