mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[document-updater] Avoid sending empty ops to project-history (#17920)
GitOrigin-RevId: a5156d99be373feb111bcc956d70c0f47047dd72
This commit is contained in:
committed by
Copybot
parent
c4437c69bc
commit
238e63e08c
@@ -71,7 +71,9 @@ const RangesManager = {
|
||||
}
|
||||
rangesTracker.applyOp(op, { user_id: update.meta?.user_id })
|
||||
}
|
||||
historyUpdates.push({ ...update, op: historyOps })
|
||||
if (historyOps.length > 0) {
|
||||
historyUpdates.push({ ...update, op: historyOps })
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user