revert dumb shit
This commit is contained in:
@ -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) => {
|
||||||
|
Reference in New Issue
Block a user