From 9a47cb665214b128390b54c2148255870a18b23d Mon Sep 17 00:00:00 2001 From: akastijn Date: Sun, 1 Mar 2026 02:39:24 +0100 Subject: [PATCH] Replace `@Output` with `output` decorator in HistoryComponent --- .../app/pages/reference/bans/history/history.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}$/;