mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Updated the fetchedLocationName (See PR: #1702)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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){
|
||||||
|
Reference in New Issue
Block a user