Explorar o código

Мелкая поправка

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

+ 2 - 1
client/components/Reader/HistoryPage/HistoryPage.vue

@@ -142,7 +142,8 @@ class HistoryPage extends Vue {
 
             if (bookManager.loaded) {
                 await this.updateTableData(10);
-                await utils.sleep(1800);
+                if (bookManager.getSortedRecent().length > 10)
+                    await utils.sleep(1800);
             } else {
                 let i = 0;
                 let j = 5;