We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9684391 + 6c4225f commit f3afca8Copy full SHA for f3afca8
apps/desktop/src/components/v3/BranchList.svelte
@@ -254,9 +254,12 @@
254
{@const selected =
255
commit.id === selectedCommitId && branchName === selectedBranchName}
256
{#if isCommitting}
257
+ {@const selectedForCommit =
258
+ (selectedCommitId === undefined || commit.id === selectedCommitId) &&
259
+ branchName === selectedBranchName}
260
<!-- Only commits to the base can be `last`, see next `CommitGoesHere`. -->
261
<CommitGoesHere
- {selected}
262
+ selected={selectedForCommit}
263
{first}
264
last={false}
265
onclick={() => uiState.stack(stackId).selection.set({ branchName, commitId })}
0 commit comments