mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 05:46:35 +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"
|
? "icon"
|
||||||
: undefined}
|
: undefined}
|
||||||
.entityId=${entityId}
|
.entityId=${entityId}
|
||||||
@click=${this._showMoreInfo}
|
@click=${this._mode === "live"
|
||||||
|
? this._showMoreInfo
|
||||||
|
: undefined}
|
||||||
|
.noninteractive=${this._mode === "review"}
|
||||||
>
|
>
|
||||||
${this._mode === "live"
|
${this._mode === "live"
|
||||||
? html`
|
? html`
|
||||||
@ -559,7 +562,10 @@ export class HaSceneEditor extends SubscribeMixin(
|
|||||||
? "icon"
|
? "icon"
|
||||||
: undefined}
|
: undefined}
|
||||||
.entityId=${entityId}
|
.entityId=${entityId}
|
||||||
@click=${this._showMoreInfo}
|
@click=${this._mode === "live"
|
||||||
|
? this._showMoreInfo
|
||||||
|
: undefined}
|
||||||
|
.noninteractive=${this._mode === "review"}
|
||||||
>
|
>
|
||||||
${this._mode === "live"
|
${this._mode === "live"
|
||||||
? html` <state-badge
|
? html` <state-badge
|
||||||
|
Loading…
x
Reference in New Issue
Block a user