diff --git a/README.md b/README.md
index 990d547..7ffcac8 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ In your ui-lovelace.yaml
resources:
- url: https://unpkg.com/moment@2.23.0/moment.js
type: js
- - url: /local/calendar-card/calendar-card.js?v=1.2.1
+ - url: /local/calendar-card/calendar-card.js?v=1.2.2
type: module
```
diff --git a/calendar-card.js b/calendar-card.js
index 2799151..8d02409 100644
--- a/calendar-card.js
+++ b/calendar-card.js
@@ -261,7 +261,7 @@ class CalendarCard extends HTMLElement {
`
}
- if (event.location && locationAddress) {
+ if (event.location && event.locationAddress) {
locationHtml += `
${event.location}
diff --git a/custom_updater.json b/custom_updater.json
index fda1d87..6f76a61 100644
--- a/custom_updater.json
+++ b/custom_updater.json
@@ -1,7 +1,7 @@
{
"calendar-card": {
- "updated_at": "2018-12-13",
- "version": "1.2.1",
+ "updated_at": "2018-12-26",
+ "version": "1.2.2",
"remote_location": "https://raw.githubusercontent.com/ljmerza/calendar-card/master/calendar-card.js",
"visit_repo": "https://github.com/ljmerza/calendar-card",
"changelog": "https://github.com/ljmerza/calendar-card/releases/latest"