Skip to content

Commit

Permalink
move all text into formatted message
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelolo24 committed Sep 14, 2020
1 parent bf968e1 commit 595c484
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,16 +409,10 @@ const UnstyledProcessEventDot = React.memo(
color={colorMap.descriptionText}
isDisplaying={isShowingDescriptionText}
>
{isOrigin && (
<>
<FormattedMessage
id="xpack.securitySolution.endpoint.resolver.analyzedEvent"
defaultMessage="Analyzed Event"
/>
{' · '}
</>
)}
{descriptionText}
<FormattedMessage
id="xpack.securitySolution.endpoint.resolver.processDescription"
defaultMessage={`${isOrigin ? 'Analyzed Event · ' : ''}${descriptionText}`}
/>
</StyledDescriptionText>
<div
className={xScale >= 2 ? 'euiButton' : 'euiButton euiButton--small'}
Expand Down

0 comments on commit 595c484

Please sign in to comment.