mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Fix PR comments UI (#18323)
Closes: * Review comment cannot be edited #17768 * Changing PR Comment Resolved State Disables Further Changes #18315
This commit is contained in:
@@ -519,7 +519,7 @@ func (c *Comment) LoadPoster() error {
|
||||
return c.loadPoster(db.GetEngine(db.DefaultContext))
|
||||
}
|
||||
|
||||
// LoadAttachments loads attachments
|
||||
// LoadAttachments loads attachments (it never returns error, the error during `GetAttachmentsByCommentIDCtx` is ignored)
|
||||
func (c *Comment) LoadAttachments() error {
|
||||
if len(c.Attachments) > 0 {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user