From 6c0154976ad8eff9506ab5f42e521b63029c8bcc Mon Sep 17 00:00:00 2001 From: Matt Kime Date: Mon, 9 May 2022 17:55:29 -0500 Subject: [PATCH] fix debounce --- src/plugins/data_views/public/toasts_debounced.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/data_views/public/toasts_debounced.ts b/src/plugins/data_views/public/toasts_debounced.ts index 008e4ad39c89c..5a031491c36a3 100644 --- a/src/plugins/data_views/public/toasts_debounced.ts +++ b/src/plugins/data_views/public/toasts_debounced.ts @@ -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,