1
0
Fork 0
forked from Kispi/Core

fix(webapp): filter in lower case

This commit is contained in:
Simon Giesel 2022-08-04 14:02:26 +02:00
parent 86ef3d989f
commit 10399aa812

View file

@ -145,7 +145,7 @@ function filterEvent(event: Event) {
return;
}
data.value = data.value.filter((account: IAccountData) => {
return `${account.firstName} ${account.lastName}`.toLocaleLowerCase().includes(input);
return `${account.firstName} ${account.lastName}`.toLocaleLowerCase().includes(input.toLocaleLowerCase());
});
}
</script>