Merge tag '0.1.7' into develop
0.1.7
This commit is contained in:
@@ -139,6 +139,12 @@ export default @Component({
|
|||||||
this.showClickMapPage = newValue.showClickMapPage;
|
this.showClickMapPage = newValue.showClickMapPage;
|
||||||
this.updateRoute();
|
this.updateRoute();
|
||||||
},
|
},
|
||||||
|
loaderActive: function(newValue) {
|
||||||
|
const recent = this.mostRecentBook();
|
||||||
|
if (!newValue && !this.loading && recent && !bookManager.hasBookParsed(recent)) {
|
||||||
|
this.loadBook(recent);
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
class Reader extends Vue {
|
class Reader extends Vue {
|
||||||
@@ -205,8 +211,6 @@ class Reader extends Vue {
|
|||||||
if (this.$root.rootRoute == '/reader') {
|
if (this.$root.rootRoute == '/reader') {
|
||||||
if (this.routeParamUrl) {
|
if (this.routeParamUrl) {
|
||||||
this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos});
|
this.loadBook({url: this.routeParamUrl, bookPos: this.routeParamPos});
|
||||||
} else if (this.mostRecentBook()) {
|
|
||||||
this.loadBook({url: this.mostRecentBook().url});
|
|
||||||
} else {
|
} else {
|
||||||
this.loaderActive = true;
|
this.loaderActive = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Liberama",
|
"name": "Liberama",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user