Skip to content

Commit

Permalink
Fixed linter issues.
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
  • Loading branch information
crnjan committed Feb 10, 2021
1 parent 4ebc895 commit ad913a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default {
if (this.badgeOverrides && !this.exprAst) {
const override = this.badgeOverrides[this.type]
if (override && override.expression) {
this.exprAst = expr.parse(override.expression)
this.exprAst = expr.parse(override.expression)
}
}
return this.exprAst
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="location-stats margin-top" :class="config.invertText ? 'invert-text' : ''" v-if="!config.disableBadges">
<span v-for="badgeType in ['alarms', 'lights', 'windows', 'doors', 'garagedoors', 'blinds', 'presence', 'lock', 'climate', 'screens', 'projectors', 'speakers']" :key="badgeType">
<status-badge v-if="!config.badges || !config.badges.length || config.badges.indexOf(badgeType) >= 0"
:store="context.store" :element="element" :type="badgeType" :invert-color="config.invertText" :badgeOverrides="badgeOverrides"/>
:store="context.store" :element="element" :type="badgeType" :invert-color="config.invertText" :badgeOverrides="badgeOverrides" />
</span>
</div>
<div class="location-stats margin-top-half" v-if="!config.disableBadges">
Expand Down

0 comments on commit ad913a4

Please sign in to comment.