From 71d9731fc7b7a3bbdaa3d8b5a0b89392f8292458 Mon Sep 17 00:00:00 2001 From: britea Date: Mon, 27 Apr 2020 16:58:55 +0200 Subject: [PATCH] fixed device settings on scenes --- smart-hut/src/components/dashboard/devices/Device.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-hut/src/components/dashboard/devices/Device.js b/smart-hut/src/components/dashboard/devices/Device.js index 41b0b16..43efc7f 100644 --- a/smart-hut/src/components/dashboard/devices/Device.js +++ b/smart-hut/src/components/dashboard/devices/Device.js @@ -157,7 +157,7 @@ class Device extends React.Component { )} - {this.props.stateOrDevice ? ( + {this.props.stateOrDevice && this.props.tab === "Devices" ? (