1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Reset table pagination on search

This commit is contained in:
Chocobozzz 2022-07-12 10:19:33 +02:00
parent a49407524f
commit 0667dbaf26
No known key found for this signature in database
GPG key ID: 583A612D890159BE
14 changed files with 34 additions and 32 deletions

View file

@ -65,6 +65,11 @@ export abstract class RestTable {
}
onSearch (search: string) {
this.pagination = {
start: 0,
count: this.rowsPerPage
}
this.search = search
this.reloadData()
}