mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
Disable devices/entities click in scene review mode (#22940)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user