Fix #50
This commit is contained in:
parent
d3e8e5f354
commit
e796ea87aa
@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="toggle">
|
<div id="toggle">
|
||||||
<ha-icon
|
<ha-icon
|
||||||
@click="${()=>this.open=!this.open}"
|
@click="${e=>{e.stopPropagation(),this.open=!this.open}}"
|
||||||
icon=${this.open?"mdi:chevron-up":"mdi:chevron-down"}
|
icon=${this.open?"mdi:chevron-up":"mdi:chevron-down"}
|
||||||
></ha-icon>
|
></ha-icon>
|
||||||
</div>
|
</div>
|
||||||
|
@ -78,7 +78,11 @@ class FoldEntityRow extends LitElement {
|
|||||||
</div>
|
</div>
|
||||||
<div id="toggle">
|
<div id="toggle">
|
||||||
<ha-icon
|
<ha-icon
|
||||||
@click="${() => this.open = !this.open}"
|
@click="${(ev) => {
|
||||||
|
ev.stopPropagation();
|
||||||
|
this.open = !this.open;
|
||||||
|
}
|
||||||
|
}"
|
||||||
icon=${this.open ? "mdi:chevron-up" : "mdi:chevron-down"}
|
icon=${this.open ? "mdi:chevron-up" : "mdi:chevron-down"}
|
||||||
></ha-icon>
|
></ha-icon>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user