Skip to content

Commit

Permalink
[bug] For bug 65773
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed May 12, 2024
1 parent 34cffab commit 0d88c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocService/sources/editorDataMemory.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ EditorData.prototype.addLocksNX = async function(ctx, docId, locks) {
};
EditorData.prototype.removeLocks = async function(ctx, docId, locks) {
let data = this._getDocumentData(ctx, docId);
if (!data.locks) {
if (data.locks) {
for (let lockId in locks) {
delete data.locks[lockId];
}
Expand Down

0 comments on commit 0d88c74

Please sign in to comment.