diff --git a/packages/builder/src/pages/[application]/_layout.svelte b/packages/builder/src/pages/[application]/_layout.svelte index 35e629974a..d80c542f40 100644 --- a/packages/builder/src/pages/[application]/_layout.svelte +++ b/packages/builder/src/pages/[application]/_layout.svelte @@ -2,7 +2,7 @@ import { store } from "builderStore" import { fade } from "svelte/transition" - import { isActive, goto, url, layout } from "@sveltech/routify" + import { isActive, goto, context } from "@sveltech/routify" import { SettingsIcon, PreviewIcon } from "components/common/Icons/" import IconButton from "components/common/IconButton.svelte" @@ -23,6 +23,8 @@ throw new Error(pkg) } } + $: ({ component } = $context) + $: list = component.parent.children.filter(child => child.isIndexable)