Web UI: Polling on tables

This commit is contained in:
Matthieu Hostache 2019-12-17 14:52:05 +01:00 committed by Traefiker Bot
parent 7f085df240
commit b3c9a50ead
20 changed files with 2028 additions and 361 deletions

View file

@ -24,10 +24,10 @@ export default {
props: ['featureKey', 'featureVal'],
computed: {
isString () {
return this.$_.isString(this.featureVal)
return typeof this.featureVal === 'string'
},
isBoolean () {
return this.$_.isBoolean(this.featureVal) || this.featureVal === ''
return typeof variable === 'boolean' || this.featureVal === ''
},
isTrue () {
return this.isBoolean && this.featureVal === true