diff --git a/smart-hut/src/components/modalform.js b/smart-hut/src/components/modalform.js
index 699da5d..117a8c9 100644
--- a/smart-hut/src/components/modalform.js
+++ b/smart-hut/src/components/modalform.js
@@ -108,12 +108,12 @@ export default class ModalWindow extends Component {
Insert the name of the room:
+ value={this.props.type === "new" && this.props.idRoom !== -1 ? "" : "" }/>
Insert an image of the room:
+ value={this.props.type === "new" && this.props.idRoom !== -1 ? "" : this.props.idRoom.images }/>
@@ -126,7 +126,7 @@ export default class ModalWindow extends Component {
: null }
+ : "" }
diff --git a/smart-hut/src/views/Dashboard.js b/smart-hut/src/views/Dashboard.js
index e83e1f0..f35e947 100644
--- a/smart-hut/src/views/Dashboard.js
+++ b/smart-hut/src/views/Dashboard.js
@@ -36,6 +36,7 @@ export default class Dashboard extends Component{
call.getAllDevices()
.then(res => {
if ( res.status === 200) {
+ console.log(res.data)
this.setState({
devices: res.data
});
diff --git a/smart-hut/src/views/Navbar.js b/smart-hut/src/views/Navbar.js
index 11d48e0..109fa7a 100644
--- a/smart-hut/src/views/Navbar.js
+++ b/smart-hut/src/views/Navbar.js
@@ -120,6 +120,7 @@ class Navbar extends Component {
@@ -168,10 +169,10 @@ class Navbar extends Component {
-
+
-
+