We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80901bf commit 8e00d98Copy full SHA for 8e00d98
1 file changed
src/github/pullRequestOverviewCommon.ts
@@ -86,7 +86,7 @@ export namespace PullRequestView {
86
const deletedBranchTypes: string[] = [];
87
88
if (selectedActions) {
89
- const isBranchActive = item.equals(folderRepositoryManager.activePullRequest);
+ const isBranchActive = item.equals(folderRepositoryManager.activePullRequest) || (folderRepositoryManager.repository.state.HEAD?.name && folderRepositoryManager.repository.state.HEAD.name === branchInfo?.branch);
90
91
const promises = selectedActions.map(async action => {
92
switch (action.type) {
0 commit comments