mirror of
https://github.com/go-gitea/gitea
synced 2024-11-12 13:14:24 +00:00
parent
e6b3be4608
commit
be14e79e98
@ -101,6 +101,12 @@ func ToTimelineComment(c *issues_model.Comment, doer *user_model.User) *api.Time
|
|||||||
}
|
}
|
||||||
|
|
||||||
if c.Time != nil {
|
if c.Time != nil {
|
||||||
|
err = c.Time.LoadAttributes()
|
||||||
|
if err != nil {
|
||||||
|
log.Error("Time.LoadAttributes: %v", err)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
comment.TrackedTime = ToTrackedTime(c.Time)
|
comment.TrackedTime = ToTrackedTime(c.Time)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user