diff --git a/packages/builder/src/builderStore/store/index.js b/packages/builder/src/builderStore/store/index.js
index 6ff081939b..806bab8c8f 100644
--- a/packages/builder/src/builderStore/store/index.js
+++ b/packages/builder/src/builderStore/store/index.js
@@ -1,7 +1,7 @@
import { filter, cloneDeep, values } from "lodash/fp"
import { pipe } from "components/common/core"
import * as backendStoreActions from "./backend"
-import { writable } from "svelte/store"
+import { writable, get } from "svelte/store"
import api from "../api"
import {
DEFAULT_PAGES_OBJECT
diff --git a/packages/builder/src/pages/[application]/frontend/[page]/[screen]/_layout.svelte b/packages/builder/src/pages/[application]/frontend/[page]/[screen]/_layout.svelte
index 0110148f54..4e26ac6a7f 100644
--- a/packages/builder/src/pages/[application]/frontend/[page]/[screen]/_layout.svelte
+++ b/packages/builder/src/pages/[application]/frontend/[page]/[screen]/_layout.svelte
@@ -8,7 +8,7 @@
// It's a screen, set it to that screen
if ($params.screen !== "page-layout") {
- store.setCurrentScreen($params.screen)
+ store.setCurrentScreen(decodeURI($params.screen))
// There are leftover stuff, like IDs, so navigate the components and find the ID and select it.
if ($leftover) {
@@ -30,6 +30,7 @@
// Find Component with ID and continue
function findComponent(ids, children) {
+ console.log(ids, children);
// Setup stuff
let componentToSelect
let currentChildren = children
diff --git a/packages/builder/src/pages/[application]/frontend/_layout.svelte b/packages/builder/src/pages/[application]/frontend/_layout.svelte
index 758d4d7d8a..77a96451ef 100644
--- a/packages/builder/src/pages/[application]/frontend/_layout.svelte
+++ b/packages/builder/src/pages/[application]/frontend/_layout.svelte
@@ -8,8 +8,7 @@
import PagesList from "components/userInterface/PagesList.svelte"
import IconButton from "components/common/IconButton.svelte"
import NewScreen from "components/userInterface/NewScreen.svelte"
- import CurrentItemPreview from "components/userInterface/CurrentItemPreview.svelte"
- import SettingsView from "components/userInterface/SettingsView.svelte"
+ import CurrentItemPreview from "components/userInterface/AppPreview"
import PageView from "components/userInterface/PageView.svelte"
import ComponentsPaneSwitcher from "components/userInterface/ComponentsPaneSwitcher.svelte"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
@@ -104,7 +103,6 @@
-