Fix improperly formatted (input) binding in bans component

Removed excessive whitespace in the (input) binding of the search field to ensure proper functionality and readability. This change improves code cleanliness without altering behavior.
This commit is contained in:
Peter 2025-04-12 23:02:28 +02:00
parent 48fd133b6d
commit a3570b6833

View File

@ -33,7 +33,7 @@
type="search" type="search"
placeholder="Search.." placeholder="Search.."
[(ngModel)]="searchTerm" [(ngModel)]="searchTerm"
(input)=" filterNames()" (input)="filterNames()"
> >
<button type="submit" class="searchButton" (click)="search()">Search</button> <button type="submit" class="searchButton" (click)="search()">Search</button>
<div class="search-dropdown" *ngIf="filteredNames.length > 0 && searchTerm"> <div class="search-dropdown" *ngIf="filteredNames.length > 0 && searchTerm">