Procházet zdrojové kódy

Исправления багов

Book Pauk před 6 roky
rodič
revize
25542cdff3

+ 2 - 3
client/components/Reader/ServerStorage/ServerStorage.vue

@@ -59,8 +59,6 @@ class ServerStorage extends Vue {
             } else {
             } else {
                 await this.serverStorageKeyChanged();
                 await this.serverStorageKeyChanged();
             }
             }
-            await this.currentProfileChanged();
-            await this.loadRecent();
             this.oldRecent = _.cloneDeep(bookManager.recent);
             this.oldRecent = _.cloneDeep(bookManager.recent);
             this.oldRecentLast = _.cloneDeep(bookManager.recentLast) || {};
             this.oldRecentLast = _.cloneDeep(bookManager.recentLast) || {};
         } finally {
         } finally {
@@ -88,7 +86,8 @@ class ServerStorage extends Vue {
 
 
             await this.loadProfiles(force);
             await this.loadProfiles(force);
             this.checkCurrentProfile();
             this.checkCurrentProfile();
-            await this.loadRecent();
+            await this.currentProfileChanged(force);
+            await this.loadRecent(force);
             if (force)
             if (force)
                 await this.saveRecent();
                 await this.saveRecent();
         }
         }