mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
Fix top level page loading indicator
- the previous method would render to the page as undefined
This commit is contained in:
parent
47e54e5bbb
commit
24bf86a1bf
@ -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={{
|
||||
|
Loading…
Reference in New Issue
Block a user