mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-27 18:05:25 +08:00
Load issue attributes instead of only loading pullrequest details
This commit is contained in:
parent
6f9647b2b9
commit
0d65d7140b
@ -194,8 +194,8 @@ func renderConversation(ctx *context.Context, comment *issues_model.Comment, ori
|
|||||||
ctx.ServerError("CanMarkConversation", err)
|
ctx.ServerError("CanMarkConversation", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err = comment.Issue.LoadPullRequest(ctx); err != nil {
|
if err = comment.Issue.LoadAttributes(ctx); err != nil {
|
||||||
ctx.ServerError("comment.Issue.LoadPullRequest", err)
|
ctx.ServerError("comment.Issue.LoadAttributes", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.Data["Issue"] = comment.Issue
|
ctx.Data["Issue"] = comment.Issue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user