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:
parent
a49407524f
commit
0667dbaf26
14 changed files with 34 additions and 32 deletions
|
@ -65,6 +65,11 @@ export abstract class RestTable {
|
|||
}
|
||||
|
||||
onSearch (search: string) {
|
||||
this.pagination = {
|
||||
start: 0,
|
||||
count: this.rowsPerPage
|
||||
}
|
||||
|
||||
this.search = search
|
||||
this.reloadData()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue