mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
fix(webui): dashboard would not reload properly
This commit is contained in:
parent
f4ca3f22e9
commit
18e3e21f06
1 changed files with 3 additions and 7 deletions
|
|
@ -190,13 +190,9 @@ export default Vue.extend({
|
|||
selectedBooks(val: BookDto[]) {
|
||||
val.forEach(i => this.replaceBook(i))
|
||||
},
|
||||
},
|
||||
beforeRouteUpdate(to, from, next) {
|
||||
if (to.params.libraryId !== from.params.libraryId) {
|
||||
this.loadAll(to.params.libraryId)
|
||||
}
|
||||
|
||||
next()
|
||||
'$route' (to, from) {
|
||||
this.loadAll(this.libraryId)
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
fixedCardWidth(): number {
|
||||
|
|
|
|||
Loading…
Reference in a new issue