Merge pull request #20886 from overleaf/dp-overview-file-counts
Check that thread has messages in overview comment count GitOrigin-RevId: 8499f837a016256c5ca615172b5c53a7f2e7c6b5
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ export const ReviewPanelOverviewFile: FC<{
|
||||
const unresolvedComments = useMemo(() => {
|
||||
return ranges.comments.filter(comment => {
|
||||
const thread = threads?.[comment.op.t]
|
||||
return thread && !thread.resolved
|
||||
return thread && thread.messages.length > 0 && !thread.resolved
|
||||
})
|
||||
}, [ranges.comments, threads])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user