Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
fix case in which still the letter overview was displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
peternijssen committed May 15, 2019
1 parent 2a76068 commit 3127d74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions postnl-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class PostNL extends LitElement {
}

renderLettersInfo() {
if (!this.letters) return ''
if (!this.letterObject) return ''

return html`
<div class="info">
Expand All @@ -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`
<header>
Expand Down
4 changes: 2 additions & 2 deletions tracker.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 3127d74

Please sign in to comment.