Skip to content

Commit

Permalink
Fix getRoutes being renamed (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
parrel authored Jan 7, 2025
1 parent de87d5b commit fe7da6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const loadLoadCardHelpers = async () => {

await customElements.whenDefined("partial-panel-resolver");
const ppResolver = document.createElement("partial-panel-resolver");
const routes = (ppResolver as any).getRoutes([
const routes = (ppResolver as any)._getRoutes([
{
component_name: "lovelace",
url_path: "a",
Expand Down Expand Up @@ -106,7 +106,7 @@ export const loadHaForm = async () => {
export const loadConfigDashboard = async () => {
await customElements.whenDefined("partial-panel-resolver");
const ppResolver = document.createElement("partial-panel-resolver");
const routes = (ppResolver as any).getRoutes([
const routes = (ppResolver as any)._getRoutes([
{
component_name: "config",
url_path: "a",
Expand All @@ -125,7 +125,7 @@ export const loadDeveloperToolsTemplate = async () => {
await customElements.whenDefined("partial-panel-resolver");
await customElements.whenDefined("partial-panel-resolver");
const ppResolver = document.createElement("partial-panel-resolver");
const routes = (ppResolver as any).getRoutes([
const routes = (ppResolver as any)._getRoutes([
{
component_name: "developer-tools",
url_path: "a",
Expand Down

0 comments on commit fe7da6f

Please sign in to comment.