mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-20 08:01:46 +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;
|
return null;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$: if ($redirect$) goto(`/${$redirect$}/`);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if $redirect$ === undefined}
|
{#if $redirect$ === undefined}
|
||||||
Loading...
|
Loading...
|
||||||
{:else if $redirect$}
|
|
||||||
<!-- TODO: Is this a valid form of redirect? -->
|
|
||||||
{goto(`/${$redirect$}/`)}
|
|
||||||
{:else if !$analyticsConfirmed}
|
{:else if !$analyticsConfirmed}
|
||||||
<DecorativeSplitView
|
<DecorativeSplitView
|
||||||
user={$user$}
|
user={$user$}
|
||||||
@ -43,7 +42,7 @@
|
|||||||
>
|
>
|
||||||
<AnalyticsConfirmation {analyticsConfirmed} />
|
<AnalyticsConfirmation {analyticsConfirmed} />
|
||||||
</DecorativeSplitView>
|
</DecorativeSplitView>
|
||||||
{:else}
|
{:else if $redirect$ === null}
|
||||||
<DecorativeSplitView
|
<DecorativeSplitView
|
||||||
user={$user$}
|
user={$user$}
|
||||||
imgSet={{
|
imgSet={{
|
||||||
|
Loading…
Reference in New Issue
Block a user