Fix view file button in diff compare
This commit is contained in:
parent
9c82789664
commit
33e8926efe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue