Sfoglia il codice sorgente

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

Book Pauk 6 anni fa
parent
commit
63861789de
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;