Мелкий рефакторинг

This commit is contained in:
Book Pauk
2019-03-16 02:24:07 +07:00
parent b0c59be340
commit e800dfe796
2 changed files with 22 additions and 24 deletions

View File

@@ -205,9 +205,9 @@ class Reader extends Vue {
mounted() {
(async() => {
this.$refs.serverStorage.init();
await bookManager.init(this.settings);
await restoreOldSettings(this.settings, bookManager, this.commit);
await this.$refs.serverStorage.init();
if (this.$root.rootRoute == '/reader') {
if (this.routeParamUrl) {