Skip to content

Commit

Permalink
Again fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Osterkamp authored and Daniel Osterkamp committed Oct 28, 2020
1 parent f72dced commit 86766df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-COVID19-AMPEL.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86766df

Please sign in to comment.