diff --git a/smart-hut/public/sm_logo.png b/smart-hut/public/sm_logo.png new file mode 100644 index 0000000..f55eabc Binary files /dev/null and b/smart-hut/public/sm_logo.png differ diff --git a/smart-hut/src/components/HeaderController.js b/smart-hut/src/components/HeaderController.js index e85fd0d..aa24e82 100644 --- a/smart-hut/src/components/HeaderController.js +++ b/smart-hut/src/components/HeaderController.js @@ -17,7 +17,7 @@ const IconHomeImage = () => ( /> ); -const TitleImage = () => ; +const TitleImage = () => ; const BrowserStructure = (props) => ( 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 (