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.
1 parent d89ab4a commit 53281b8Copy full SHA for 53281b8
links.js
@@ -23,8 +23,9 @@ function createLink(linkData) {
23
24
const modRepo = modifiedRepos[user + '/' + repoName];
25
26
- if (modRepo && modRepo.branches
27
- && modRepo.branches.length === 1) {
+ // if selected branch is the default branch
+ if (modRepo &&
28
+ (modRepo.defaultBranch === branch)) {
29
30
branch = '';
31
0 commit comments