jgauth / MMM-GoogleTasks

21 stars 29 forks source link

Set fallback value for number of tasks #7

Closed jayked closed 4 years ago

jayked commented 5 years ago

This sets a default for the numTasks variable, in the getDom method, and overwrites it when tasks are set and available. By doing this the Cannot convert undefined or null to object console error will be prevented.

It is possible that #5 could be closed upon merging this pull request, because it made the MMM-Remote-Control module work again.