Skip to content

Commit

Permalink
Better way to fetch ha-settings-row
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Sep 7, 2022
1 parent d123b36 commit c48e6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const loadConfigDashboard = async () => {
await customElements.whenDefined("ha-panel-config");
const configRouter: any = document.createElement("ha-panel-config");
await configRouter?.routerOptions?.routes?.dashboard?.load?.(); // Load ha-config-dashboard
// await configRouter?.routerOptions?.routes?.cloud?.load?.(); // Load ha-settings-row
await configRouter?.routerOptions?.routes?.general?.load?.(); // Load ha-settings-row
await configRouter?.routerOptions?.routes?.entities?.load?.(); // Load ha-data-table
await customElements.whenDefined("ha-config-dashboard");
};
Expand Down

0 comments on commit c48e6e4

Please sign in to comment.