Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "undefined" in weather modules header. #2103

Merged
merged 6 commits into from
Sep 2, 2020

Conversation

rejas
Copy link
Collaborator

@rejas rejas commented Aug 1, 2020

The original PR for this issue (#2083) doesnt really fix it for current browsers or electron.

The issue comes from the data.header being undefined but later filled with values as is the case in the weather modules where the API later fills the header with the name of the location.

This PR fixes #1985 in my opinion for good. It cleans up the header text generation in the weather modules as well as in the module class. It also adds some tests for displaying the header.

@rejas rejas changed the base branch from master to develop August 1, 2020 10:52
@MichMich MichMich merged commit 8427a9f into MagicMirrorOrg:develop Sep 2, 2020
@rejas rejas deleted the issue_1985 branch September 2, 2020 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants