Fix branch page pull request title and link error (#10092)
* Fix branch page pull request title and link error * Fix ui
This commit is contained in:
parent
107a694fd6
commit
3ccd271081
2 changed files with 6 additions and 6 deletions
|
@ -239,6 +239,7 @@ func loadBranches(ctx *context.Context) []*Branch {
|
|||
} else {
|
||||
repoIDToRepo[pr.BaseRepoID] = pr.BaseRepo
|
||||
}
|
||||
pr.Issue.Repo = pr.BaseRepo
|
||||
|
||||
if pr.HasMerged {
|
||||
baseGitRepo, ok := repoIDToGitRepo[pr.BaseRepoID]
|
||||
|
@ -261,7 +262,6 @@ func loadBranches(ctx *context.Context) []*Branch {
|
|||
mergeMovedOn = true
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
isIncluded := divergence.Ahead == 0 && ctx.Repo.Repository.DefaultBranch != branchName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue