mirror of
https://gitee.com/gitea/gitea
synced 2025-12-29 11:46:35 +08:00
minor fix for #1961
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user