Explorar el Código

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

Book Pauk hace 6 años
padre
commit
63861789de
Se han modificado 1 ficheros con 2 adiciones y 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;