Skip to content

Commit

Permalink
fix debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed May 9, 2022
1 parent 04dab1f commit 6c01549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data_views/public/toasts_debounced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const toastsAddDebounced = (
return (toastInputFields, key) => {
if (!debouncerCollector[key]) {
debouncerCollector[key] = debounce(
notifications.toasts.add.bind(notifications.toasts.add),
notifications.toasts.add.bind(notifications.toasts),
uiSettings.get('search:timeout') + 5000,
{
leading: true,
Expand Down

0 comments on commit 6c01549

Please sign in to comment.