mirror of
1
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ func PrepareCompareDiff(
ctx.Data["Username"] = ci.HeadUser.Name ctx.Data["Username"] = ci.HeadUser.Name
ctx.Data["Reponame"] = ci.HeadRepo.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 return false
} }