[Security] Add description component key (#104603)
* detections empty timelines crash patch * cleaning unnecesary key * bring description key back to force rerender
This commit is contained in:
parent
9aa3280c86
commit
1c0dbea7ae
|
@ -240,7 +240,9 @@ const TimelineDescriptionComponent: React.FC<FlyoutHeaderProps> = ({ timelineId
|
|||
return (
|
||||
<EuiText size="s" data-test-subj="timeline-description">
|
||||
{description ? (
|
||||
<LineClamp lineClampHeight={4.5}>{description}</LineClamp>
|
||||
<LineClamp key={description.length} lineClampHeight={4.5}>
|
||||
{description}
|
||||
</LineClamp>
|
||||
) : (
|
||||
commonI18n.DESCRIPTION
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue