[WEB-5235] Fix activity timeline ordering for edited comments #8002
This commit is contained in:
parent
76ffe52cd5
commit
a60d74a3c0
1 changed files with 2 additions and 1 deletions
|
|
@ -112,10 +112,11 @@ export class IssueActivityStore implements IIssueActivityStore {
|
|||
comments.forEach((commentId) => {
|
||||
const comment = currentStore.comment.getCommentById(commentId);
|
||||
if (!comment) return;
|
||||
const commentTimestamp = comment.edited_at ?? comment.updated_at ?? comment.created_at;
|
||||
activityComments.push({
|
||||
id: comment.id,
|
||||
activity_type: EActivityFilterType.COMMENT,
|
||||
created_at: comment.created_at,
|
||||
created_at: commentTimestamp,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue