Поправки багов

This commit is contained in:
Book Pauk
2019-02-03 22:56:23 +07:00
parent 223b553359
commit cd4fb75c9d
2 changed files with 8 additions and 6 deletions

View File

@@ -200,7 +200,10 @@ class HistoryPage extends Vue {
const newRecent = bookManager.mostRecentBook();
if (this.mostRecentBook != newRecent)
this.$emit('load-book', newRecent);
this.mostRecentBook = newRecent;
if (!this.mostRecentBook)
this.close();
}
loadBook(url) {