From d639103eeb2330913d4d2d109981d06eccda9fe3 Mon Sep 17 00:00:00 2001 From: Scotty Bollinger Date: Wed, 3 Nov 2021 13:08:13 -0500 Subject: [PATCH] Fix a bug where error not displaying when connector misconfigured (#117348) This PR fixes a bug where the error was not displaying when misconfigured connector was connected and redirected back. The issue was that the redirect was occuring after the flash message was set and the fix was to redirect and then show the flash message --- .../content_sources/components/add_source/add_source_logic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts index 6f09cbb15c7db..833a3bd3bda69 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts @@ -540,8 +540,8 @@ export const AddSourceLogic = kea {