From 09d3a54c7e835b6d813df3a162c59009a799b335 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 22 Jan 2021 14:38:08 +0000 Subject: [PATCH] Fix issue with URL <-> state binding in design section preventing navigating to roles with no screens in them --- .../design/[assetType]/[asset]/_layout.svelte | 110 --------------- .../design/[assetType]/_layout.svelte | 126 +++++++++++++++++- .../design/[assetType]/index.svelte | 56 ++++---- 3 files changed, 151 insertions(+), 141 deletions(-) delete mode 100644 packages/builder/src/pages/[application]/design/[assetType]/[asset]/_layout.svelte diff --git a/packages/builder/src/pages/[application]/design/[assetType]/[asset]/_layout.svelte b/packages/builder/src/pages/[application]/design/[assetType]/[asset]/_layout.svelte deleted file mode 100644 index 1080021ed1..0000000000 --- a/packages/builder/src/pages/[application]/design/[assetType]/[asset]/_layout.svelte +++ /dev/null @@ -1,110 +0,0 @@ - - - diff --git a/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte b/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte index f40774cfef..ad7df634ef 100644 --- a/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte +++ b/packages/builder/src/pages/[application]/design/[assetType]/_layout.svelte @@ -1,21 +1,135 @@ diff --git a/packages/builder/src/pages/[application]/design/[assetType]/index.svelte b/packages/builder/src/pages/[application]/design/[assetType]/index.svelte index de74eef1ac..f1383c9190 100644 --- a/packages/builder/src/pages/[application]/design/[assetType]/index.svelte +++ b/packages/builder/src/pages/[application]/design/[assetType]/index.svelte @@ -1,45 +1,51 @@