mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Enable turning off edit mode in panel views (#8625)
This commit is contained in:
parent
3b837e1d54
commit
e8cc97a8e5
@ -105,6 +105,7 @@ export class PanelView extends LitElement implements LovelaceViewElement {
|
|||||||
card.isPanel = true;
|
card.isPanel = true;
|
||||||
|
|
||||||
if (!this.lovelace?.editMode) {
|
if (!this.lovelace?.editMode) {
|
||||||
|
card.editMode = false;
|
||||||
this._card = card;
|
this._card = card;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user