Skip to content

Commit

Permalink
Hotfix error on string compare
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcHagen committed Feb 27, 2020
1 parent 8beeed7 commit 38fa0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/weather-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ class WeatherCard extends LitElement {
}

getWindForce() {
if (this.getUnit('length') !== km) {
if (this.getUnit('length') !== 'km') {
return html``;
}

Expand Down

0 comments on commit 38fa0bc

Please sign in to comment.