ryck / MMM-AQI

MagicMirror module to get the Air Quality Index (AQI)
MIT License
12 stars 5 forks source link

Header & "divider bar" disappeared after MM upgrade to 2.7.1 #1

Closed upupdown42 closed 5 years ago

upupdown42 commented 5 years ago

Hi, after reinstalling my magicmirror with the latest one (2.7.1), the header line including this small bar disappeared. I didnt change the code or something. Any ideas how to fix it? Thanks!

upupdown42 commented 5 years ago

Found a solution: In MMM-AQI.js replace

getHeader: function() {
    return this.config.header;
  },

with

getHeader: function() {
    return this.data.header;
  },

Maybe the author can add this to his original version (don't know how to pull a request). Cheers

ryck commented 5 years ago

I just pushed a fix for this. Sorry for the delay, and thanks to upupdown42 for reporting the issue and propose a solution!

PS: Doing a pull request is really easy, let me know if you want me to show you how