From 8f7a12cc42b4c0d2e14fc8084e2ab0c479d0aa9f Mon Sep 17 00:00:00 2001 From: Marta Bondyra <4283304+mbondyra@users.noreply.github.com> Date: Thu, 7 Dec 2023 14:10:27 +0100 Subject: [PATCH] [Lens] Pass user messages to the config panel (#172791) ## Summary Fixes https://github.com/elastic/kibana/issues/169175 --- .../layer_configuration_section.tsx | 2 ++ .../edit_on_the_fly/lens_configuration_flyout.tsx | 15 +++++++++++++++ .../app_plugin/shared/edit_on_the_fly/types.ts | 8 +++++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx index 7ae7b456ab669..86f2cde79ee56 100644 --- a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx +++ b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx @@ -26,6 +26,7 @@ export function LayerConfiguration({ framePublicAPI, hasPadding, setIsInlineFlyoutVisible, + getUserMessages, }: LayerConfigurationProps) { const dispatch = useLensDispatch(); const { euiTheme } = useEuiTheme(); @@ -58,6 +59,7 @@ export function LayerConfiguration({ hideLayerHeader: datasourceId === 'textBased', indexPatternService, setIsInlineFlyoutVisible, + getUserMessages, }; return (