minor fix for #1961
This commit is contained in:
parent
29ed7872f8
commit
d370effca5
2 changed files with 6 additions and 1 deletions
|
@ -494,6 +494,7 @@ func ViewIssue(ctx *middleware.Context) {
|
|||
|
||||
ctx.Data["PageIsPullList"] = true
|
||||
ctx.Data["PageIsPullConversation"] = true
|
||||
ctx.Data["HasForkedRepo"] = ctx.IsSigned && ctx.User.HasForkedRepo(ctx.Repo.Repository.ID)
|
||||
} else {
|
||||
ctx.Data["PageIsIssueList"] = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue