Поправлен баг
This commit is contained in:
@@ -975,7 +975,6 @@ class Reader extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
progress.setState({totalSteps: 5});
|
progress.setState({totalSteps: 5});
|
||||||
|
|
||||||
// не удалось, скачиваем книгу полностью с конвертацией
|
// не удалось, скачиваем книгу полностью с конвертацией
|
||||||
let loadCached = true;
|
let loadCached = true;
|
||||||
if (!book) {
|
if (!book) {
|
||||||
|
|||||||
@@ -356,7 +356,8 @@ class BookManager {
|
|||||||
let result = this.recent[value.key];
|
let result = this.recent[value.key];
|
||||||
if (!result) {
|
if (!result) {
|
||||||
result = await bmRecentStore.getItem(value.key);
|
result = await bmRecentStore.getItem(value.key);
|
||||||
this.recent[value.key] = result;
|
if (result)
|
||||||
|
this.recent[value.key] = result;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -410,6 +411,7 @@ class BookManager {
|
|||||||
|
|
||||||
if (this.recentLast !== oldRecentLast)
|
if (this.recentLast !== oldRecentLast)
|
||||||
this.emit('recent-changed');
|
this.emit('recent-changed');
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user