diff --git a/frontend/src/app/bans/bans.component.ts b/frontend/src/app/bans/bans.component.ts index 9f97728..9cab894 100644 --- a/frontend/src/app/bans/bans.component.ts +++ b/frontend/src/app/bans/bans.component.ts @@ -88,11 +88,13 @@ export class BansComponent implements OnInit { public search() { this.pushState() this.finalSearchTerm = this.searchTerm; + this.page = 0; } public changeHistoryType(type: 'player' | 'staff') { this.pushState(); this.userType = type; + this.page = 0; } public changeHistoryPunishment(type: 'all' | 'ban' | 'mute' | 'kick' | 'warn') {