mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 21:36:36 +00:00
Disable devices/entities click in scene review mode (#22940)
This commit is contained in:
parent
6b8068a22a
commit
fc2e3b7bcf
@ -488,7 +488,10 @@ export class HaSceneEditor extends SubscribeMixin(
|
||||
? "icon"
|
||||
: undefined}
|
||||
.entityId=${entityId}
|
||||
@click=${this._showMoreInfo}
|
||||
@click=${this._mode === "live"
|
||||
? this._showMoreInfo
|
||||
: undefined}
|
||||
.noninteractive=${this._mode === "review"}
|
||||
>
|
||||
${this._mode === "live"
|
||||
? html`
|
||||
@ -559,7 +562,10 @@ export class HaSceneEditor extends SubscribeMixin(
|
||||
? "icon"
|
||||
: undefined}
|
||||
.entityId=${entityId}
|
||||
@click=${this._showMoreInfo}
|
||||
@click=${this._mode === "live"
|
||||
? this._showMoreInfo
|
||||
: undefined}
|
||||
.noninteractive=${this._mode === "review"}
|
||||
>
|
||||
${this._mode === "live"
|
||||
? html` <state-badge
|
||||
|
Loading…
x
Reference in New Issue
Block a user