From c97c51876e4bcf1abd8a8ea60e771ec66e7049be Mon Sep 17 00:00:00 2001 From: Constance Date: Fri, 2 Apr 2021 14:28:18 -0700 Subject: [PATCH] Remove incorrect error toast on successful poll (#96159) --- .../app_search/components/api_logs/api_logs_logic.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts index 4d0d80cf2c24..a9186bd4d66c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts @@ -117,10 +117,6 @@ export const ApiLogsLogic = kea>({ // while polls are stored in-state until the user manually triggers the 'Refresh' action if (isPoll) { actions.onPollInterval(response); - flashErrorToast(POLLING_ERROR_TITLE, { - text: POLLING_ERROR_TEXT, - toastLifeTimeMs: POLLING_DURATION * 0.75, - }); } else { actions.updateView(response); }