New sensors web panel WIP

This commit is contained in:
Fabio Manganiello 2019-07-02 14:42:25 +02:00
parent 54a3643605
commit 40fa640397
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,13 @@
@import 'common/vars';
.sensors {
.head {
text-align: right;
button {
border: 0;
&:hover { background: $hover-bg; }
}
}
}

View File

@ -57,8 +57,8 @@ Vue.component('sensors', {
},
mounted: function() {
this.refresh();
registerEventHandler(this.onSensorEvent, 'platypush.message.event.sensor.SensorDataChangeEvent');
this.refresh();
},
});