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