diff --git a/frontend/src/app/pages/reference/bans/history/history.component.ts b/frontend/src/app/pages/reference/bans/history/history.component.ts index 365e0e1..e6d27a9 100644 --- a/frontend/src/app/pages/reference/bans/history/history.component.ts +++ b/frontend/src/app/pages/reference/bans/history/history.component.ts @@ -1,4 +1,4 @@ -import {Component, EventEmitter, inject, input, OnChanges, OnInit, Output} from '@angular/core'; +import {Component, inject, input, OnChanges, OnInit, output} from '@angular/core'; import {HistoryService, PunishmentHistory} from '@api'; import {catchError, map, Observable, shareReplay} from 'rxjs'; import {NgOptimizedImage} from '@angular/common'; @@ -33,8 +33,8 @@ export class HistoryComponent implements OnInit, OnChanges { page = input(0); searchTerm = input(''); - @Output() pageChange = new EventEmitter(); - @Output() selectItem = new EventEmitter(); + pageChange = output(); + selectItem = output(); private uuidRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;