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 f85b5e67f..b57d8017f 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 @@ -87,48 +87,6 @@ exports[`Panels Table Component render dashboard table container with panels 1`]
-
-
-
- -
-
-
@@ -141,6 +99,20 @@ exports[`Panels Table Component render dashboard table container with panels 1`] + @@ -156,39 +128,84 @@ exports[`Panels Table Component render dashboard table container with panels 1`] class="euiHorizontalRule euiHorizontalRule--full euiHorizontalRule--marginMedium" />
-
- +
- - + + +
+
+
+
+
+
+ +
@@ -249,7 +266,7 @@ exports[`Panels Table Component render dashboard table container with panels 1`] > -
-
-
- -
-
-
@@ -982,6 +956,20 @@ exports[`Panels Table Component renders empty dashboard table container 1`] = ` + @@ -1044,6 +1032,20 @@ exports[`Panels Table Component renders empty dashboard table container 1`] = ` + @@ -1166,48 +1168,6 @@ exports[`Panels Table Component renders empty panel table container2 1`] = `
-
-
-
- -
-
-
@@ -1220,6 +1180,20 @@ exports[`Panels Table Component renders empty panel table container2 1`] = ` + @@ -1235,39 +1209,85 @@ exports[`Panels Table Component renders empty panel table container2 1`] = ` class="euiHorizontalRule euiHorizontalRule--full euiHorizontalRule--marginMedium" />
-
- +
- - + + +
+
+
+
+
+
+ +
diff --git a/public/components/custom_panels/custom_panel_table.tsx b/public/components/custom_panels/custom_panel_table.tsx index 8de410e38..4ff17fa8e 100644 --- a/public/components/custom_panels/custom_panel_table.tsx +++ b/public/components/custom_panels/custom_panel_table.tsx @@ -364,21 +364,13 @@ export const CustomPanelTable = ({ - - setIsActionsPopoverOpen(false)} - > - - - Create Dashboard @@ -389,13 +381,25 @@ export const CustomPanelTable = ({ {customPanels.length > 0 ? ( <> - setSearchQuery(e.target.value)} - /> + + setSearchQuery(e.target.value)} + /> + + setIsActionsPopoverOpen(false)} + > + + + + Create Dashboard