Skip to content

Commit

Permalink
respect appendLocationNameToHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Jan 4, 2024
1 parent 91c09fd commit 2da8ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-AirQuality.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Module.register('MMM-AirQuality', {
index: this.data.value,
impact: this.data.impact,
color: this.data.color,
showLocation: this.config.showLocation,
showLocation: this.config.showLocation && !this.config.appendLocationNameToHeader,
showIndex: this.config.showIndex,
labelLoading: this.translate('LOADING'),
message,
Expand Down

0 comments on commit 2da8ba8

Please sign in to comment.