mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Set edit mode to false on card when disabling edit mode. (#5845)
This commit is contained in:
parent
2c2a1d204b
commit
7f1fb6f75f
@ -224,6 +224,9 @@ export class HUIView extends LitElement {
|
|||||||
});
|
});
|
||||||
this._createColumns(wrappedCards);
|
this._createColumns(wrappedCards);
|
||||||
} else {
|
} else {
|
||||||
|
this._cards.forEach((card) => {
|
||||||
|
(card as LovelaceCard).editMode = false;
|
||||||
|
});
|
||||||
this._createColumns(this._cards);
|
this._createColumns(this._cards);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user