From e897a5ae61e158a1a27197920c5d914b4464eeaa Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 7 Apr 2021 15:09:35 +0100 Subject: [PATCH] Fix building loading settings modal before app package call finishes --- .../pages/builder/[application]/_reset.svelte | 106 +++++++++--------- 1 file changed, 56 insertions(+), 50 deletions(-) diff --git a/packages/builder/src/pages/builder/[application]/_reset.svelte b/packages/builder/src/pages/builder/[application]/_reset.svelte index 3be1942e44..2c066d28a5 100644 --- a/packages/builder/src/pages/builder/[application]/_reset.svelte +++ b/packages/builder/src/pages/builder/[application]/_reset.svelte @@ -45,65 +45,71 @@ } -
-
-
- +{#await promise} + +
+{:then _} +
+
+
+ - - {#each $layout.children as { path, title }} - - {title} - - {/each} -
-
- - -
- - - + + {#each $layout.children as { path, title }} + + {title} + + {/each}
- +
+ + +
+ + + +
+ + +
+
+
-
-
- -
- - {#await promise} - -
- {:then _} - {:catch error} -

Something went wrong: {error.message}

- {/await} -
+
+{:catch error} +

Something went wrong: {error.message}

+{/await}