mirror of
https://github.com/gotson/komga.git
synced 2026-05-09 05:10:19 +02:00
fix(webui): webreader crash when reading one-shot from collection context
Closes: #1374
This commit is contained in:
parent
8c4a5e316c
commit
bdf9ec9c6e
1 changed files with 3 additions and 0 deletions
|
|
@ -667,6 +667,9 @@ export default Vue.extend({
|
|||
id: this.$route.query.contextId as string,
|
||||
}
|
||||
this.book.context = this.context
|
||||
}
|
||||
|
||||
if (this?.context.origin === ContextOrigin.READLIST) {
|
||||
this.contextName = (await (this.$komgaReadLists.getOneReadList(this.context.id))).name
|
||||
document.title = `Komga - ${this.contextName} - ${this.book.metadata.title}`
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue