|
@@ -53,6 +53,9 @@ module.exports = RangeManager = {
|
|
|
if ((comment.op != null ? comment.op.t : undefined) != null) {
|
|
if ((comment.op != null ? comment.op.t : undefined) != null) {
|
|
|
comment.op.t = RangeManager._safeObjectId(comment.op.t)
|
|
comment.op.t = RangeManager._safeObjectId(comment.op.t)
|
|
|
}
|
|
}
|
|
|
|
|
+ // resolved property is added to comments when they are obtained from history, but this state doesn't belong in mongo docs collection
|
|
|
|
|
+ // more info: https://github.com/overleaf/internal/issues/24371#issuecomment-2913095174
|
|
|
|
|
+ delete comment.op?.resolved
|
|
|
updateMetadata(comment.metadata)
|
|
updateMetadata(comment.metadata)
|
|
|
}
|
|
}
|
|
|
return ranges
|
|
return ranges
|