diff --git a/postnl-card.js b/postnl-card.js
index 52487a8..0cfa4b4 100755
--- a/postnl-card.js
+++ b/postnl-card.js
@@ -329,7 +329,7 @@ class PostNL extends LitElement {
}
renderLettersInfo() {
- if (!this.letters) return ''
+ if (!this.letterObject) return ''
return html`
@@ -340,7 +340,7 @@ class PostNL extends LitElement {
}
renderLetters() {
- if (!this.letters || (this.letters && this.letters.length === 0)) return ''
+ if (!this.letterObject || (this.letters && this.letters.length === 0)) return ''
return html`
diff --git a/tracker.json b/tracker.json
index 4fe97c6..93f6fd0 100644
--- a/tracker.json
+++ b/tracker.json
@@ -1,9 +1,9 @@
{
"postnl-card": {
- "version": "0.9.2",
+ "version": "0.9.3",
"updated_at": "2019-05-15",
"visit_repo": "https://github.com/peternijssen/lovelace-postnl",
- "remote_location": "https://github.com/peternijssen/lovelace-postnl/releases/download/0.9.2/postnl-card.js",
+ "remote_location": "https://github.com/peternijssen/lovelace-postnl/releases/download/0.9.3/postnl-card.js",
"changelog": "https://github.com/peternijssen/lovelace-postnl/releases/latest"
}
}