mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Restore scroll position go back to backup settings page (#23955)
This commit is contained in:
parent
e3f2f66206
commit
3f2e2bc659
@ -50,8 +50,8 @@ class HaConfigBackupSettings extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected firstUpdated(_changedProperties: PropertyValues): void {
|
public connectedCallback(): void {
|
||||||
super.firstUpdated(_changedProperties);
|
super.connectedCallback();
|
||||||
this._scrollToSection();
|
this._scrollToSection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,6 +119,7 @@ class HaConfigBackup extends SubscribeMixin(HassRouterPage) {
|
|||||||
settings: {
|
settings: {
|
||||||
tag: "ha-config-backup-settings",
|
tag: "ha-config-backup-settings",
|
||||||
load: () => import("./ha-config-backup-settings"),
|
load: () => import("./ha-config-backup-settings"),
|
||||||
|
cache: true,
|
||||||
},
|
},
|
||||||
location: {
|
location: {
|
||||||
tag: "ha-config-backup-location",
|
tag: "ha-config-backup-location",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user