diff --git a/MMM-COVID19-AMPEL.js b/MMM-COVID19-AMPEL.js index 0d721ac..7b22d99 100644 --- a/MMM-COVID19-AMPEL.js +++ b/MMM-COVID19-AMPEL.js @@ -54,7 +54,7 @@ Module.register("MMM-COVID19-AMPEL", { getDom: function () { var wrapper = document.createElement("table") - + if (this.globalIncidents === null || this.globalIncidents === undefined) return wrapper if (Object.entries(this.globalIncidents).length === 0) return wrapper var globalStats = this.globalIncidents