diff --git a/packages/builder/src/components/userInterface/ComponentNavigationTree/PathTree.svelte b/packages/builder/src/components/userInterface/ComponentNavigationTree/PathTree.svelte index e42bd85f27..e0e0732426 100644 --- a/packages/builder/src/components/userInterface/ComponentNavigationTree/PathTree.svelte +++ b/packages/builder/src/components/userInterface/ComponentNavigationTree/PathTree.svelte @@ -8,6 +8,13 @@ import NavItem from "components/common/NavItem.svelte" import ScreenDropdownMenu from "./ScreenDropdownMenu.svelte" + const ROUTE_NAME_MAP = { + "/": { + BASIC: "Home", + PUBLIC: "Login" + } + } + const dragDropStore = instantiateStore() export let route @@ -30,13 +37,13 @@ withArrow={route.subpaths} /> {#each Object.entries(route.subpaths) as [url, subpath]} - {#each Object.values(subpath.screens) as screenId} + {#each Object.entries(subpath.screens) as [role, screenId]} changeScreen(screenId)}>