Skip to content

Commit

Permalink
fix(dashboard): mend app dashboard was not showing links for closed-i…
Browse files Browse the repository at this point in the history
…gnored PRs (#31308)

Co-authored-by: Michael Kriese <[email protected]>
  • Loading branch information
PhilipAbed and viceice authored Sep 10, 2024
1 parent d0ff9a6 commit 85f1b8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/workers/repository/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ async function generateBranchCache(
baseBranch,
baseBranchSha,
) ?? undefined;
} else if (baseBranchSha && !branchSha && branch.prNo) {
// if branch was deleted/ PR exists and ignored
prNo = branch.prNo;
}

const automerge = !!branch.automerge;
Expand Down

0 comments on commit 85f1b8e

Please sign in to comment.