mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #20494 from overleaf/dp-zero-message-thread
Don't show comment threads with zero messages GitOrigin-RevId: e9efdf4fc1119b8fdafdd8a93c7cd9caed91a276
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ export const ReviewPanelComment = memo<{
|
||||
const threads = useThreadsContext()
|
||||
|
||||
const thread = threads?.[comment.op.t]
|
||||
if (!thread || thread.resolved) {
|
||||
if (!thread || thread.resolved || thread.messages.length === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user