Added name and value props to sensor component
This commit is contained in:
parent
43b01f7c0e
commit
54a3643605
1 changed files with 6 additions and 3 deletions
|
@ -5,9 +5,12 @@ Vue.component('sensor-metric', {
|
|||
type: Object,
|
||||
},
|
||||
|
||||
device: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
name: {
|
||||
type: String,
|
||||
},
|
||||
|
||||
value: {
|
||||
type: [String, Number, Object, Boolean, Array],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue