From 0321da2a2f6e524399963deae3320c87449baab7 Mon Sep 17 00:00:00 2001 From: Kshitij Tandon Date: Thu, 29 Aug 2024 15:40:26 +0530 Subject: [PATCH] Couple of changes for old UI Signed-off-by: Kshitij Tandon --- public/pages/Aliases/containers/Aliases/Aliases.tsx | 1 + .../Aliases/__snapshots__/Aliases.test.tsx.snap | 1 + .../ManagedIndexControls/ManagedIndexControls.tsx | 1 + .../__snapshots__/ManagedIndexControls.test.tsx.snap | 12 ++++++------ .../__snapshots__/ManagedIndices.test.tsx.snap | 4 ++-- .../Templates/containers/Templates/Templates.tsx | 1 + .../Templates/__snapshots__/Templates.test.tsx.snap | 1 + 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/public/pages/Aliases/containers/Aliases/Aliases.tsx b/public/pages/Aliases/containers/Aliases/Aliases.tsx index 05b87d9c8..1ad8f8967 100644 --- a/public/pages/Aliases/containers/Aliases/Aliases.tsx +++ b/public/pages/Aliases/containers/Aliases/Aliases.tsx @@ -511,6 +511,7 @@ class Aliases extends MDSEnabledComponent { text: "Create alias", buttonProps: { fill: true, + iconType: "plus", onClick: () => { this.setState({ aliasCreateFlyoutVisible: true, diff --git a/public/pages/Aliases/containers/Aliases/__snapshots__/Aliases.test.tsx.snap b/public/pages/Aliases/containers/Aliases/__snapshots__/Aliases.test.tsx.snap index caa3632b3..83e76d4e2 100644 --- a/public/pages/Aliases/containers/Aliases/__snapshots__/Aliases.test.tsx.snap +++ b/public/pages/Aliases/containers/Aliases/__snapshots__/Aliases.test.tsx.snap @@ -103,6 +103,7 @@ exports[` spec renders the component 1`] = ` + EuiIconMock diff --git a/public/pages/ManagedIndices/components/ManagedIndexControls/ManagedIndexControls.tsx b/public/pages/ManagedIndices/components/ManagedIndexControls/ManagedIndexControls.tsx index 17aef000f..ad32ccdff 100644 --- a/public/pages/ManagedIndices/components/ManagedIndexControls/ManagedIndexControls.tsx +++ b/public/pages/ManagedIndices/components/ManagedIndexControls/ManagedIndexControls.tsx @@ -121,6 +121,7 @@ export default class ManagedIndexControls extends Component diff --git a/public/pages/ManagedIndices/components/ManagedIndexControls/__snapshots__/ManagedIndexControls.test.tsx.snap b/public/pages/ManagedIndices/components/ManagedIndexControls/__snapshots__/ManagedIndexControls.test.tsx.snap index 82bf738f9..b0568035d 100644 --- a/public/pages/ManagedIndices/components/ManagedIndexControls/__snapshots__/ManagedIndexControls.test.tsx.snap +++ b/public/pages/ManagedIndices/components/ManagedIndexControls/__snapshots__/ManagedIndexControls.test.tsx.snap @@ -15,14 +15,14 @@ exports[` spec renders data streams selection field 1`] class="euiFlexItem euiSearchBar__searchHolder" >
spec renders data streams selection field 1`] class="euiPopover__anchor" >