From dc21c91141313893300c5c29f9d6481fcccf7605 Mon Sep 17 00:00:00 2001 From: Elena Stoeva Date: Wed, 18 Dec 2024 13:00:42 +0200 Subject: [PATCH] Fix type errors --- .../edit_data_retention_modal/mixed_indices_callout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx index 09dc7f0b08d07..a316edcee49d8 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx +++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/edit_data_retention_modal/mixed_indices_callout.tsx @@ -16,7 +16,7 @@ import { useAppContext } from '../../../../app_context'; interface MixedIndicesCalloutProps { history: ScopedHistory; - ilmPolicyLink: string; + ilmPolicyLink?: string; ilmPolicyName?: string; dataStreamName: string; } @@ -42,14 +42,14 @@ export const MixedIndicesCallout = ({

core.application.navigateToUrl(ilmPolicyLink)} > - {ilmPolicyName} + {` (${ilmPolicyName})`} ), viewAllIndicesLink: (