Merge branch 'hotfix/0.1.7'

This commit is contained in:
Book Pauk
2019-02-14 21:52:41 +07:00
2 changed files with 7 additions and 3 deletions

View File

@@ -139,6 +139,12 @@ export default @Component({
this.showClickMapPage = newValue.showClickMapPage;
this.updateRoute();
},
loaderActive: function(newValue) {
const recent = this.mostRecentBook();
if (!newValue && !this.loading && recent && !bookManager.hasBookParsed(recent)) {
this.loadBook(recent);
}
},
},
})
class Reader extends Vue {
@@ -205,8 +211,6 @@ class Reader extends Vue {
if (this.$root.rootRoute == '/reader') {
if (this.routeParamUrl) {
this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos});
} else if (this.mostRecentBook()) {
this.loadBook({url: this.mostRecentBook().url});
} else {
this.loaderActive = true;
}

View File

@@ -1,6 +1,6 @@
{
"name": "Liberama",
"version": "0.1.6",
"version": "0.1.7",
"engines": {
"node": ">=10.0.0"
},