mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
fix(webui): page size chooser would not always reflect the actual value
This commit is contained in:
parent
74954a63de
commit
5ee423030f
1 changed files with 5 additions and 2 deletions
|
|
@ -40,8 +40,11 @@ export default Vue.extend({
|
|||
},
|
||||
},
|
||||
watch: {
|
||||
value (val) {
|
||||
this.selection = this.items.findIndex(x => x === val)
|
||||
value: {
|
||||
handler(val) {
|
||||
this.selection = this.items.findIndex(x => x === val)
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue