fix: only set upstreamName if upstreamReference exists

This commit is contained in:
ndom91 2024-10-10 11:38:40 +02:00 committed by Nico Domino
parent fef2865469
commit 9e27fea94e

View File

@ -34,7 +34,7 @@
<StackingBranchHeader
commits={currentSeries.patches}
name={currentSeries.branchName}
upstreamName={currentSeries.upstreamReference}
upstreamName={currentSeries.upstreamReference ? currentSeries.name : undefined}
/>
<StackingCommitList
remoteOnlyPatches={currentSeries.upstreamPatches}