mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-17 21:05:04 -04: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:
parent
08a6caab80
commit
8685d87920
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue