mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 20:54:50 +03:00
fix: hide commitList if there are no commits
This commit is contained in:
parent
49a4f2581f
commit
5e7e87cab1
@ -36,14 +36,16 @@
|
||||
name={currentSeries.branchName}
|
||||
upstreamName={currentSeries.upstreamReference ? currentSeries.name : undefined}
|
||||
/>
|
||||
<StackingCommitList
|
||||
remoteOnlyPatches={currentSeries.upstreamPatches}
|
||||
patches={currentSeries.patches}
|
||||
isUnapplied={false}
|
||||
{reorderDropzoneManager}
|
||||
{localCommitsConflicted}
|
||||
{localAndRemoteCommitsConflicted}
|
||||
/>
|
||||
{#if currentSeries.upstreamPatches.length > 0 || currentSeries.patches.length > 0}
|
||||
<StackingCommitList
|
||||
remoteOnlyPatches={currentSeries.upstreamPatches}
|
||||
patches={currentSeries.patches}
|
||||
isUnapplied={false}
|
||||
{reorderDropzoneManager}
|
||||
{localCommitsConflicted}
|
||||
{localAndRemoteCommitsConflicted}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user