1
1
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) (#10098)

* Fix branch page pull request title and link error (#10092)
* Fix tmpl
This commit is contained in:
Lunny Xiao
2020-02-02 01:37:52 +08:00
committed by GitHub
parent 0c5e2e2e4c
commit 22dec1cea6
2 changed files with 6 additions and 6 deletions

View File

@@ -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{