Merge pull request #20805 from overleaf/dk-fix-focus-highlight

Fix focus highlight decoration for new review panel

GitOrigin-RevId: c69ba8dd8527b6c3797b1e986cfd87c1ca87da6d
This commit is contained in:
David 2024-10-04 10:16:01 +01:00 committed by Copybot
parent fac379b3a8
commit 175a4d024d

View file

@ -212,7 +212,9 @@ export const ranges = () => [
const unresolvedComments = rangesData.threads
? comments.filter(
comment =>
comment.op.t && !rangesData.threads[comment.op.t].resolved
comment.op.t &&
rangesData.threads[comment.op.t] &&
!rangesData.threads[comment.op.t].resolved
)
: []