Skip to content

Commit

Permalink
Bugfix follow-up to #4337 (#4340)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpgreen2 authored Mar 13, 2024
1 parent 929d919 commit 3ab992e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web-common/src/features/tables/TableAssets.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@
// Debounce table names to prevent flickering
const debouncedTableNames = writable<string[]>([]);
const setDebouncedTableNames = debounce(
(tableNames: string[]) => debouncedTableNames.set(tableNames),
200,
);
$: {
if ($tableNames) {
debounce(() => debouncedTableNames.set($tableNames), 300);
setDebouncedTableNames($tableNames);
}
}
Expand Down

1 comment on commit 3ab992e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.