Skip to content

Commit

Permalink
Merge pull request #15 from chodyo/patch-1
Browse files Browse the repository at this point in the history
Check for location being `undefined`
  • Loading branch information
randomBrainstormer authored Mar 31, 2022
2 parents 6d02236 + 665f4cf commit dd9b9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-GoogleCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Module.register("MMM-GoogleCalendar", {
}

if (this.config.showLocation) {
if (event.location !== false) {
if (event.location) {
const locationRow = document.createElement("tr");
locationRow.className = "normal xsmall light";

Expand Down

0 comments on commit dd9b9bc

Please sign in to comment.