mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #26814 from overleaf/mj-review-panel-comment-collapse
[web] Fix review panel check for comments in active document GitOrigin-RevId: fc0c35bc1d2f253c133dec5dcea7f81f68d723a9
This commit is contained in:
committed by
Copybot
parent
56232b48a7
commit
b89951cf5d
@@ -15,8 +15,9 @@ export const hasActiveRange = (
|
||||
return true
|
||||
}
|
||||
|
||||
for (const thread of Object.values(threads)) {
|
||||
if (!thread.resolved) {
|
||||
for (const comment of ranges.comments) {
|
||||
const thread = threads[comment.op.t]
|
||||
if (thread && !thread.resolved) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user