mirror of
https://github.com/go-gitea/gitea
synced 2025-08-09 11:08:19 +00:00
* Fix branch page pull request title and link error (#10092) * Fix tmpl
This commit is contained in:
@@ -221,6 +221,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]
|
||||
@@ -243,7 +244,6 @@ func loadBranches(ctx *context.Context) []*Branch {
|
||||
mergeMovedOn = true
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
branches[i] = &Branch{
|
||||
|
Reference in New Issue
Block a user