Skip to content

Commit

Permalink
link open in new tab and add security header
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Jul 30, 2024
1 parent 6d3a542 commit c9530b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/pages/authorizationDetails/DocumentsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export function DocumentsSection({ item }: Readonly<Props>) {
canDownload && 'documents-table-cell--link',
)}
href={env.VITE_AMS_URL +'download.aspx?PosseObjectId='+ doc.DocumentObjectID}
target="_blank"
rel={canDownload ? 'noopener noreferrer' : ''}
>
{doc.Description}
</Link>
Expand Down

0 comments on commit c9530b1

Please sign in to comment.