Fix top level page loading indicator

- the previous method would render to the page as undefined
This commit is contained in:
Mattias Granlund 2024-03-02 15:55:39 +01:00
parent 47e54e5bbb
commit 24bf86a1bf

View File

@ -26,13 +26,12 @@
return null;
})
);
$: if ($redirect$) goto(`/${$redirect$}/`);
</script>
{#if $redirect$ === undefined}
Loading...
{:else if $redirect$}
<!-- TODO: Is this a valid form of redirect? -->
{goto(`/${$redirect$}/`)}
{:else if !$analyticsConfirmed}
<DecorativeSplitView
user={$user$}
@ -43,7 +42,7 @@
>
<AnalyticsConfirmation {analyticsConfirmed} />
</DecorativeSplitView>
{:else}
{:else if $redirect$ === null}
<DecorativeSplitView
user={$user$}
imgSet={{