diff --git a/CHANGELOG.md b/CHANGELOG.md index 228fdd51..75e54a5d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ Added UK Met Office Datapoint feed as a provider in the default weather module. - Minor types in default NewsFeed [README.md](https://github.com/MichMich/MagicMirror/blob/develop/modules/default/newsfeed/README.md) - Fix typos and small syntax errors, cleanup dependencies, remove multiple-empty-lines, add semi-rule - Fixed issues with calendar not displaying one-time changes to repeating events +- Updated the fetchedLocationName variable in currentweather.js so that city shows up in the header ## [2.7.1] - 2019-04-02 diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 7b5554c5..ffafd6a0 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -383,6 +383,7 @@ Module.register("currentweather",{ this.humidity = parseFloat(data.main.humidity); this.temperature = this.roundValue(data.main.temp); + this.fetchedLocationName = data.name; this.feelsLike = 0; if (this.config.useBeaufort){