diff --git a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap
index 3d8134d0c..a82756a37 100644
--- a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap
+++ b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_table.test.tsx.snap
@@ -16,11 +16,13 @@ exports[`Panels Table Component render dashboard table container with panels 1`]
-
Select existing visualization
-
+
}
>
@@ -153,12 +153,15 @@ exports[`Visualization Flyout Component renders add visualization Flyout 1`] = `
-
- Select existing visualization
-
+
+ Select existing visualization
+
+
-
- Select existing visualization
-
+
+ Select existing visualization
+
+
-
- Select existing visualization
-
+
+ Select existing visualization
+
+
-
- Select existing visualization
-
+
+ Select existing visualization
+
+
-
-
- Select existing visualization
-
-
+
+ Select existing visualization
+
+
+
-
Replace visualization
-
+
}
>
@@ -1449,12 +1467,15 @@ exports[`Visualization Flyout Component renders replace visualization Flyout 1`]
-
- Replace visualization
-
+
+ Replace visualization
+
+
-
- Replace visualization
-
+
+ Replace visualization
+
+
-
- Replace visualization
-
+
+ Replace visualization
+
+
-
- Replace visualization
-
+
+ Replace visualization
+
+
-
-
- Replace visualization
-
-
+
+ Replace visualization
+
+
+
- {isPreviewError.errorMessage}
+
+ {isPreviewError.errorMessage}
+
- Error Details
+ Error Details
{isPreviewError.errorDetails}
@@ -267,11 +268,11 @@ export const VisaulizationFlyout = ({
const flyoutHeader = (
-
+
{isFlyoutReplacement ? 'Replace visualization' : 'Select existing visualization'}
-
+
);
diff --git a/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx b/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx
index 691f89c99..7c7e86441 100644
--- a/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx
+++ b/public/components/custom_panels/panel_modules/visualization_flyout/visualization_flyout_so.tsx
@@ -28,7 +28,6 @@ import {
EuiSelectOption,
EuiSpacer,
EuiText,
- EuiTitle,
EuiToolTip,
ShortDate,
} from '@elastic/eui';
@@ -133,12 +132,14 @@ export const VisaulizationFlyoutSO = ({
- {isPreviewError.errorMessage}
+
+ {isPreviewError.errorMessage}
+
- Error Details
+ Error Details
{isPreviewError.errorDetails}
@@ -249,11 +250,11 @@ export const VisaulizationFlyoutSO = ({
const flyoutHeader = (
-
+
{isFlyoutReplacement ? 'Replace visualization' : 'Select existing visualization'}
-
+
);