fix(webui): incorrect data reload on received events

This commit is contained in:
Gauthier Roebroeck 2021-07-26 09:56:01 +08:00
parent ca054f642f
commit 44bd09ac0b

View file

@ -484,7 +484,7 @@ export default Vue.extend({
})
},
reloadPage: throttle(function (this: any) {
this.loadPage(this.libraryId, this.page, this.sortActive)
this.loadPage(this.libraryId, this.page, this.sortActive, this.searchRegex)
}, 1000),
async loadPage(libraryId: string, page: number, sort: SortActive, searchRegex?: string) {
this.selectedSeries = []