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

This commit is contained in:
Book Pauk
2019-03-24 11:44:15 +07:00
parent 16d0ae60c1
commit 25542cdff3

View File

@@ -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();
} }