diff --git a/smart-hut/src/components/dashboard/DevicePanel.js b/smart-hut/src/components/dashboard/DevicePanel.js
index ccbe36f..0edf873 100644
--- a/smart-hut/src/components/dashboard/DevicePanel.js
+++ b/smart-hut/src/components/dashboard/DevicePanel.js
@@ -135,7 +135,11 @@ export default class DevicePanel extends Component {
mode: this.state.editMode,
openModal: this.openModal,
};
+
+ var backGroundImg =
+ this.props.activeItem === -1 ? "" : this.props.room.image;
const ds = this.state.devices ? this.state.devices : this.props.devices;
+
return (