mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-20 01:35:55 +00:00
fix(ui): show participants in mention suggestions in pr review (#8363)
Closes: #5035 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8363 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Lucas Schwiderski <lucas@lschwiderski.de> Co-committed-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
parent
18705e2fe0
commit
82728d903d
5 changed files with 76 additions and 3 deletions
|
@ -237,7 +237,7 @@ func (issue *Issue) LoadPullRequest(ctx context.Context) (err error) {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (issue *Issue) loadComments(ctx context.Context) (err error) {
|
||||
func (issue *Issue) LoadComments(ctx context.Context) (err error) {
|
||||
return issue.loadCommentsByType(ctx, CommentTypeUndefined)
|
||||
}
|
||||
|
||||
|
@ -341,7 +341,7 @@ func (issue *Issue) LoadAttributes(ctx context.Context) (err error) {
|
|||
return err
|
||||
}
|
||||
|
||||
if err = issue.loadComments(ctx); err != nil {
|
||||
if err = issue.LoadComments(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue