Поправки

This commit is contained in:
Book Pauk
2019-02-27 06:00:30 +07:00
parent ff27ddd442
commit 954ce9e85c
2 changed files with 3 additions and 1 deletions

View File

@@ -226,7 +226,8 @@ class HistoryPage extends Vue {
this.updateTableData();
const newRecent = bookManager.mostRecentBook();
if (this.mostRecentBook != newRecent)
if (!(this.mostRecentBook && newRecent && this.mostRecentBook.key == newRecent.key))
this.$emit('load-book', newRecent);
this.mostRecentBook = newRecent;