Explorar o código

Небольшая поправка

Book Pauk %!s(int64=5) %!d(string=hai) anos
pai
achega
f6513d40c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/components/Reader/ServerStorage/ServerStorage.vue

+ 1 - 1
client/components/Reader/ServerStorage/ServerStorage.vue

@@ -492,7 +492,7 @@ class ServerStorage extends Vue {
 
         //newRecent
         let newRecent = {};
-        if (!itemKey || (needSaveRecentPatch && Object.keys(newRecentPatch.data).length > 2)) {
+        if (!itemKey || (needSaveRecentPatch && Object.keys(newRecentPatch.data).length > 10)) {
             newRecent = {rev: this.cachedRecent.rev + 1, data: bm.recent};
             newRecentPatch = {rev: this.cachedRecentPatch.rev + 1, data: {}};
             newRecentMod = {rev: this.cachedRecentMod.rev + 1, data: {}};