Updated the fetchedLocationName (See PR: #1702)

This commit is contained in:
Michael Teeuw
2019-06-14 13:42:59 +02:00
parent 63ac137206
commit b645007884
2 changed files with 2 additions and 0 deletions

View File

@@ -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) - 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 - 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 - 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 ## [2.7.1] - 2019-04-02

View File

@@ -383,6 +383,7 @@ Module.register("currentweather",{
this.humidity = parseFloat(data.main.humidity); this.humidity = parseFloat(data.main.humidity);
this.temperature = this.roundValue(data.main.temp); this.temperature = this.roundValue(data.main.temp);
this.fetchedLocationName = data.name;
this.feelsLike = 0; this.feelsLike = 0;
if (this.config.useBeaufort){ if (this.config.useBeaufort){