actually use setter in customDocs

This commit is contained in:
tophf 2022-01-24 00:08:47 +03:00
parent 0a033bba5b
commit 24e14e41a2

View File

@ -220,7 +220,7 @@ const syncMan = (() => {
uuidIndex.set(doc._id, doc.id);
return styleUtil.handleSave(doc, {reason: 'sync'});
}
if (oldDoc) oldDoc[id] = doc;
if (oldDoc) customDocs[id] = doc;
},
onDelete(_id, rev) {
const id = uuidIndex.get(_id);