Selaa lähdekoodia

Поправка бага

Book Pauk 5 vuotta sitten
vanhempi
commit
3f8cbfa259
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      client/components/Reader/Reader.vue

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

@@ -327,7 +327,8 @@ class Reader extends Vue {
         (async() => {
             await bookManager.init(this.settings);
             bookManager.addEventListener(this.bookManagerEvent);
-
+            await this.$refs.serverStorage.init();
+            
             if (this.$root.rootRoute == '/reader') {
                 if (this.routeParamUrl) {
                     await this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos, force: this.routeParamRefresh});
@@ -340,7 +341,6 @@ class Reader extends Vue {
             this.checkActivateDonateHelpPage();
             this.loading = false;
 
-            await this.$refs.serverStorage.init();
             await this.showWhatsNew();
             await this.showMigration();
         })();