mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
Fix new project redirect
- needs to be improved in the future
This commit is contained in:
parent
efb8f77543
commit
acb25f3d98
@ -65,6 +65,9 @@
|
||||
|
||||
{#if !$project$}
|
||||
<p>Project not found!</p>
|
||||
{:else if $baseBranch$ === null}
|
||||
<!-- Be careful, this works because of the redirect above -->
|
||||
<slot />
|
||||
{:else if $baseError$}
|
||||
<ProblemLoadingRepo {projectService} {userService} project={$project$} error={$baseError$} />
|
||||
{:else if $branchesError$}
|
||||
@ -93,8 +96,6 @@
|
||||
<div class="absolute h-4 w-full" data-tauri-drag-region></div>
|
||||
<slot />
|
||||
</div>
|
||||
{:else if $baseBranch$ === undefined}
|
||||
loading...
|
||||
{:else}
|
||||
<slot />
|
||||
loading...
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user