cleaned up table search
This commit is contained in:
parent
1b0cd5b90b
commit
08047a9307
@ -152,11 +152,7 @@
|
||||
</thead>
|
||||
<tbody class="divide-y divide-gray-200">
|
||||
{#each current_runners as runner}
|
||||
{#if runner.firstname
|
||||
.toLowerCase()
|
||||
.includes(searchvalue.toLowerCase()) || runner.lastname
|
||||
.toLowerCase()
|
||||
.includes(searchvalue.toLowerCase()) || `${runner.firstname} ${runner.lastname}`
|
||||
{#if `${runner.firstname} ${runner.lastname}`
|
||||
.toLowerCase()
|
||||
.includes(searchvalue.toLowerCase()) || `${runner.firstname} ${runner.middlename || ""} ${runner.lastname}`
|
||||
.toLowerCase()
|
||||
|
Loading…
x
Reference in New Issue
Block a user