Skip to content

Commit

Permalink
fix: hide_cloth
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Dec 1, 2024
1 parent 529e290 commit f742f39
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions src/card/yerushamayim-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,25 +156,22 @@ class YerushamayimCard extends LitElement {
>${this.forecastState.attributes.morning_temp} °C</bdi
>
</div>
<div class="forecast-icon">
<img
src="${this.forecastState.attributes
.night_cloth_icon}"
title="${this.forecastState.attributes
.night_cloth_info}"
/>
<img
src="${this.forecastState.attributes.noon_cloth_icon}"
title="${this.forecastState.attributes
.noon_cloth_info}"
/>
<img
src="${this.forecastState.attributes
.morning_cloth_icon}"
title="${this.forecastState.attributes
.morning_cloth_info}"
/>
</div>
${this.config.show_cloth
? html`<div class="forecast-icon">
<img
src="${this.forecastState.attributes.night_cloth_icon}"
title="${this.forecastState.attributes.night_cloth_info}"
/>
<img
src="${this.forecastState.attributes.noon_cloth_icon}"
title="${this.forecastState.attributes.noon_cloth_info}"
/>
<img
src="${this.forecastState.attributes.morning_cloth_icon}"
title="${this.forecastState.attributes.morning_cloth_info}"
/>
</div>`
: html`<div />`}
</div>
</div>
<div id="right" dir="rtl">
Expand Down

0 comments on commit f742f39

Please sign in to comment.