fix: hide commitList if there are no commits

This commit is contained in:
ndom91 2024-10-14 15:09:56 +02:00 committed by Nico Domino
parent 49a4f2581f
commit 5e7e87cab1

View File

@ -36,6 +36,7 @@
name={currentSeries.branchName}
upstreamName={currentSeries.upstreamReference ? currentSeries.name : undefined}
/>
{#if currentSeries.upstreamPatches.length > 0 || currentSeries.patches.length > 0}
<StackingCommitList
remoteOnlyPatches={currentSeries.upstreamPatches}
patches={currentSeries.patches}
@ -44,6 +45,7 @@
{localCommitsConflicted}
{localAndRemoteCommitsConflicted}
/>
{/if}
</div>
{/each}