revert dumb shit

This commit is contained in:
2025-04-29 08:12:45 +02:00
parent ca1edfe842
commit 1ca52e15a4

View File

@ -1,4 +1,4 @@
import {Component, computed, input, signal, Signal} from '@angular/core'; import {Component, computed, input, Signal} from '@angular/core';
import {User} from "../../User"; import {User} from "../../User";
import {NgForOf} from "@angular/common"; import {NgForOf} from "@angular/common";
@ -11,9 +11,7 @@ import {NgForOf} from "@angular/common";
templateUrl: './result.component.html', templateUrl: './result.component.html',
}) })
export class ResultComponent { export class ResultComponent {
search = input<string>('', { search = input<string>('');
transform: (value) => value.toLowerCase()
});
matchingUsers: Signal<User[]> = computed(() => { matchingUsers: Signal<User[]> = computed(() => {
return this.stuff.filter((user) => { return this.stuff.filter((user) => {