From 5354d6636676910ec7cc39177f77d79638241697 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 13 Oct 2020 10:35:10 +0100 Subject: [PATCH] Fixing problem where something injected [object Object] into the source code? --- packages/builder/src/components/settings/tabs/Users.svelte | 4 ++-- packages/builder/src/components/start/AppList.svelte | 4 ++-- packages/builder/src/components/start/TemplateList.svelte | 4 ++-- packages/builder/src/pages/[application]/_reset.svelte | 4 ++-- packages/standard-components/src/Test/TestApp.svelte | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/builder/src/components/settings/tabs/Users.svelte b/packages/builder/src/components/settings/tabs/Users.svelte index c55b9e5f1d..7eb9b2d215 100644 --- a/packages/builder/src/components/settings/tabs/Users.svelte +++ b/packages/builder/src/components/settings/tabs/Users.svelte @@ -73,7 +73,7 @@ {#await fetchUsersPromise} Loading... - {:then [object Object]} + {:then fetchUsersPromise} - {:catch [object Object]} + {:catch error} Something went wrong when trying to fetch users. Please refresh (CMD + R / CTRL + R) the page and try again. {/await} diff --git a/packages/builder/src/components/start/AppList.svelte b/packages/builder/src/components/start/AppList.svelte index b172d9a2f3..aeed85655e 100644 --- a/packages/builder/src/components/start/AppList.svelte +++ b/packages/builder/src/components/start/AppList.svelte @@ -24,7 +24,7 @@
- {:then [object Object]} + {:then apps}
@@ -36,7 +36,7 @@
- {:catch [object Object]} + {:catch err}

{err}

{/await} diff --git a/packages/builder/src/components/start/TemplateList.svelte b/packages/builder/src/components/start/TemplateList.svelte index 8be25c1981..64e0671c83 100644 --- a/packages/builder/src/components/start/TemplateList.svelte +++ b/packages/builder/src/components/start/TemplateList.svelte @@ -20,7 +20,7 @@
- {:then [object Object]} + {:then templates}
{#each templates as template}
@@ -39,7 +39,7 @@
{/each}
- {:catch [object Object]} + {:catch err}

{err}

{/await} diff --git a/packages/builder/src/pages/[application]/_reset.svelte b/packages/builder/src/pages/[application]/_reset.svelte index bf34184dfa..e33a46ad2c 100644 --- a/packages/builder/src/pages/[application]/_reset.svelte +++ b/packages/builder/src/pages/[application]/_reset.svelte @@ -77,9 +77,9 @@ {#await promise}
- {:then [object Object]} + {:then _} - {:catch [object Object]} + {:catch error}

Something went wrong: {error.message}

{/await}
diff --git a/packages/standard-components/src/Test/TestApp.svelte b/packages/standard-components/src/Test/TestApp.svelte index 1ad2cc484e..13504e1e15 100644 --- a/packages/standard-components/src/Test/TestApp.svelte +++ b/packages/standard-components/src/Test/TestApp.svelte @@ -35,7 +35,7 @@ {#await _appPromise} loading -{:then [object Object]} +{:then _bb}
{/await}