Fix backup location config not updated (#23965)

This commit is contained in:
Paul Bottein 2025-01-30 17:43:39 +01:00 committed by GitHub
parent 9fb1e1d2ed
commit ce58962dbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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() {