Unverified Commit 9c0edff0 authored by Diksha Thakur's avatar Diksha Thakur Committed by GitHub

[AMD-1419] Added target property to image preview (#451)

* Added target property to image preview

* Added noopener and noreferer
parent 36d99a2d
......@@ -58,7 +58,7 @@ export class ImagePreview extends React.Component<ImagePreviewProps, ImagePrevie
}
{
this.state.hasError &&
<Linkify className='body-placeholder'>{`${Constants.ERROR_MESSAGE} ${redirectUrl}`}</Linkify>
<Linkify className='body-placeholder' properties={{ target: '_blank', rel:'noopener noreferrer' }} >{`${Constants.ERROR_MESSAGE} ${redirectUrl}`}</Linkify>
}
</div>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment