diff --git a/packages/builder/src/pages/builder/portal/settings/version.svelte b/packages/builder/src/pages/builder/portal/settings/version.svelte index 519793be54..694475edcc 100644 --- a/packages/builder/src/pages/builder/portal/settings/version.svelte +++ b/packages/builder/src/pages/builder/portal/settings/version.svelte @@ -14,6 +14,7 @@ import { redirect } from "@roxi/routify" let version + let loaded = false // Only admins allowed here $: { @@ -46,8 +47,9 @@ } } - onMount(() => { - getVersion() + onMount(async () => { + await getVersion() + loaded = true }) @@ -61,16 +63,16 @@ - {#if version} + {#if loaded} - {version} + {version || "-"} +
+ +
{/if} -
- -
{/if}