From c9530b1beb7b9a5d5414b544d861787a7fc468c2 Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Tue, 30 Jul 2024 12:43:02 -0700 Subject: [PATCH] link open in new tab and add security header --- frontend/src/pages/authorizationDetails/DocumentsSection.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/pages/authorizationDetails/DocumentsSection.tsx b/frontend/src/pages/authorizationDetails/DocumentsSection.tsx index b5a7ddc9..bceebeb9 100644 --- a/frontend/src/pages/authorizationDetails/DocumentsSection.tsx +++ b/frontend/src/pages/authorizationDetails/DocumentsSection.tsx @@ -56,6 +56,8 @@ export function DocumentsSection({ item }: Readonly) { canDownload && 'documents-table-cell--link', )} href={env.VITE_AMS_URL +'download.aspx?PosseObjectId='+ doc.DocumentObjectID} + target="_blank" + rel={canDownload ? 'noopener noreferrer' : ''} > {doc.Description}