diff --git a/client/components/Reader/ServerStorage/ServerStorage.vue b/client/components/Reader/ServerStorage/ServerStorage.vue index c62a2508..c0a525cc 100644 --- a/client/components/Reader/ServerStorage/ServerStorage.vue +++ b/client/components/Reader/ServerStorage/ServerStorage.vue @@ -576,7 +576,7 @@ class ServerStorage { newRecentPatch.rev++; newRecentPatch.data[itemKey] = _.cloneDeep(bm.recent[itemKey]); - let applyMod = this.cachedRecentMod.data; + const applyMod = this.cachedRecentMod.data; if (applyMod && applyMod.key && newRecentPatch.data[applyMod.key]) newRecentPatch.data[applyMod.key] = utils.applyObjDiff(newRecentPatch.data[applyMod.key], applyMod.mod, {isAddChanged: true});