use debouncedinput for apptable search

This commit is contained in:
Ruben Fiszel
2024-02-13 21:43:00 +01:00
parent d2ce6b1980
commit b43f46351b
2 changed files with 2 additions and 3 deletions
@@ -3,7 +3,7 @@
// Using 'any' so 'type="number"' can be passed to the input
// which should return a number
export let value: any
export let debounceDelay: number = 500
export let debounceDelay: number = 100
let parentClass: string | undefined = undefined
export { parentClass as class }
@@ -21,7 +21,6 @@
</script>
<input
bind:value
{placeholder}
on:pointerdown|stopPropagation
on:keyup={debounce}
@@ -1281,7 +1281,7 @@
>
<div class="flex flex-row gap-1 items-center">
<Bug size={14} />
<div> Debug runs</div>
<div>Debug runs</div>
<div class="text-2xs text-tertiary"
>({$jobs?.length > 99 ? '99+' : $jobs?.length ?? 0})</div
>