Fix backup location config not updated (#23965)

This commit is contained in:
Paul Bottein 2025-01-30 17:43:39 +01:00 committed by Bram Kragten
parent e48b2383cf
commit 52e9bc3213

View File

@ -53,6 +53,8 @@ class HaConfigBackupSettings extends LitElement {
public connectedCallback(): void {
super.connectedCallback();
this._scrollToSection();
// Update config the page is displayed (e.g. when coming back from a location detail page)
this._config = this.config;
}
private async _scrollToSection() {