Skip to content

Commit

Permalink
fix: add hide parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Nov 16, 2024
1 parent 82d3fe0 commit fd83e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/card/yerushamayim-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class YerushamayimCard extends LitElement {
if (!this.hass || !this.temperatureState) {
return html`<ha-card><div class="container">Loading...</div></ha-card>`;
}
// console.log(this.lastDayState);
console.log(this.config);

return html`
<ha-card @click="${this.handleClick}" style="cursor: pointer;">
Expand Down Expand Up @@ -199,7 +199,7 @@ class YerushamayimCard extends LitElement {
</div>
</div>
</div>
${this.lastDayState
${this.config.hide_yesterday && this.lastDayState
? html`<div class="container-bottom" dir="rtl">
<div class="yesterday-container">
<div>אתמול:</div>
Expand Down

0 comments on commit fd83e66

Please sign in to comment.