Skip to content

Commit

Permalink
Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaStoeva committed Dec 18, 2024
1 parent 6feec4b commit dc21c91
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { useAppContext } from '../../../../app_context';

interface MixedIndicesCalloutProps {
history: ScopedHistory;
ilmPolicyLink: string;
ilmPolicyLink?: string;
ilmPolicyName?: string;
dataStreamName: string;
}
Expand All @@ -42,14 +42,14 @@ export const MixedIndicesCallout = ({
<p>
<FormattedMessage
id="xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody"
defaultMessage="One or more indices are managed by an ILM policy ({viewAllIndicesLink}). Updating data retention for this data stream won't affect these indices. Instead you will have to update the {ilmPolicyLink} policy."
defaultMessage="One or more indices are managed by an ILM policy{viewAllIndicesLink}. Updating data retention for this data stream won't affect these indices. Instead you will have to update the {ilmPolicyLink} policy."
values={{
ilmPolicyLink: (
ilmPolicyLink: ilmPolicyLink && ilmPolicyName && (
<EuiLink
data-test-subj="viewIlmPolicyLink"
onClick={() => core.application.navigateToUrl(ilmPolicyLink)}
>
{ilmPolicyName}
{` (${ilmPolicyName})`}
</EuiLink>
),
viewAllIndicesLink: (
Expand Down

0 comments on commit dc21c91

Please sign in to comment.