mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
[web] Show most recently resolved comments at the top (#22835)
GitOrigin-RevId: cb42a0fe3d6bf5d23d329b6ef9732f7cb9612907
This commit is contained in:
committed by
Copybot
parent
1ec9d6222f
commit
7be2796e0e
+4
@@ -56,6 +56,10 @@ export const ReviewPanelResolvedThreadsMenu: FC = () => {
|
||||
resolvedThreads.push({ thread, id })
|
||||
}
|
||||
}
|
||||
resolvedThreads.sort((a, b) => {
|
||||
return Date.parse(b.thread.resolved_at) - Date.parse(a.thread.resolved_at)
|
||||
})
|
||||
|
||||
return resolvedThreads
|
||||
}, [threads])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user