mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
fix(webui): import details dialog not updated correctly
if a matching book was found before, then removed, the dialog would still display that book's pages
This commit is contained in:
parent
ca7cf7de90
commit
33cb0836ba
1 changed files with 1 additions and 0 deletions
|
|
@ -250,6 +250,7 @@ export default Vue.extend({
|
|||
async checkForUpgrade(number: number | undefined) {
|
||||
this.bookToUpgrade = this.seriesBooks.find(b => b.metadata.numberSort === number)
|
||||
if (this.bookToUpgrade) this.bookToUpgradePages = await this.$komgaBooks.getBookPages(this.bookToUpgrade.id)
|
||||
else this.bookToUpgradePages = []
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue