Fix erroneous error message when adding project

- for a split second the navigation bar comes into existence
- was trigger remote branches load
This commit is contained in:
Mattias Granlund 2024-03-19 23:59:16 +01:00
parent 6aa883f7f8
commit 009478a67a

View File

@ -82,7 +82,7 @@
<ProblemLoadingRepo project={$project$} error={$branchesError} />
{:else if !$gbBranchActive$ && $baseBranch}
<NotOnGitButlerBranch project={$project$} baseBranch={$baseBranch} />
{:else}
{:else if $baseBranch}
<div class="view-wrap" role="group" on:dragover|preventDefault>
<Navigation project={$project$} user={$user$} />
<slot />