[SIEM][Timelines] Updates timeline template callout text (#73334)

* updates timeline template callout text

* fixes typo in constant

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
MadameSheema 2020-07-28 10:48:14 +02:00 committed by GitHub
parent c0826a3273
commit 1c791f39da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -177,7 +177,7 @@ describe('Header', () => {
expect(
wrapper.find('[data-test-subj="timelineImmutableCallOut"]').first().prop('title')
).toEqual(
'This timeline is immutable, therefore not allowed to save it within the security application, though you may continue to use the timeline to search and filter security events'
'This prebuilt timeline template cannot be modified. To make changes, please duplicate this template and make modifications to the duplicate template.'
);
});
});

View file

@ -73,7 +73,7 @@ const TimelineHeaderComponent: React.FC<Props> = ({
{status === TimelineStatus.immutable && (
<EuiCallOut
data-test-subj="timelineImmutableCallOut"
title={i18n.CALL_OUT_IMMUTIABLE}
title={i18n.CALL_OUT_IMMUTABLE}
color="primary"
iconType="alert"
size="s"

View file

@ -14,10 +14,10 @@ export const CALL_OUT_UNAUTHORIZED_MSG = i18n.translate(
}
);
export const CALL_OUT_IMMUTIABLE = i18n.translate(
export const CALL_OUT_IMMUTABLE = i18n.translate(
'xpack.securitySolution.timeline.callOut.immutable.message.description',
{
defaultMessage:
'This timeline is immutable, therefore not allowed to save it within the security application, though you may continue to use the timeline to search and filter security events',
'This prebuilt timeline template cannot be modified. To make changes, please duplicate this template and make modifications to the duplicate template.',
}
);