Fix view file button in diff compare

This commit is contained in:
Mai-Lapyst 2024-04-05 05:27:20 +02:00
parent 9c82789664
commit 33e8926efe
No known key found for this signature in database
GPG key ID: F88D929C09E239F8

View file

@ -684,7 +684,7 @@ func PrepareCompareDiff(
ctx.Data["Username"] = ci.HeadUser.Name
ctx.Data["Reponame"] = ci.HeadRepo.Name
setCompareContext(ctx, beforeCommit, headCommit, ci.HeadUser.Name, repo.Name)
setCompareContext(ctx, beforeCommit, headCommit, ci.HeadUser.Name, ci.HeadRepo.Name)
return false
}