Track assignee for issue (#808)
* track assignee for issue * fix lint * use getUserByID instead Get
This commit is contained in:
parent
68bdaf0a6b
commit
3e0525b47d
5 changed files with 94 additions and 11 deletions
|
@ -615,6 +615,11 @@ func ViewIssue(ctx *context.Context) {
|
|||
ctx.Handle(500, "LoadMilestone", err)
|
||||
return
|
||||
}
|
||||
} else if comment.Type == models.CommentTypeAssignees {
|
||||
if err = comment.LoadAssignees(); err != nil {
|
||||
ctx.Handle(500, "LoadAssignees", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue