mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Fix for Click Event
This commit is contained in:
parent
edf8027bf4
commit
3882a5aa89
@ -160,8 +160,8 @@ class HuiEntitiesCard extends HassLocalizeLitMixin(LitElement)
|
||||
element.hass = this.hass;
|
||||
element.entityConf = entityConf;
|
||||
if (
|
||||
!!entityConf.entity &&
|
||||
DOMAINS_HIDE_MORE_INFO.includes(computeDomain(entityConf.entity))
|
||||
entityConf.entity &&
|
||||
!DOMAINS_HIDE_MORE_INFO.includes(computeDomain(entityConf.entity))
|
||||
) {
|
||||
element.classList.add("state-card-dialog");
|
||||
element.onclick = this.handleClick;
|
||||
|
Loading…
x
Reference in New Issue
Block a user