Skip to content

Commit

Permalink
feat: allow download button for additional user account
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoBeeAkto committed Jan 10, 2025
1 parent 83b1dae commit 3baf9c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const VulnerabilityReport = () => {
</VerticalStack>
<div style={{ display: 'flex', alignItems: 'center' }}>
{
window.USER_NAME?.toLowerCase()?.includes("ababank") ? <Button primary onClick={() => handleDownloadPF()} disabled={!pdfDownloadEnabled}>Download</Button> : <></>
(window.USER_NAME?.toLowerCase()?.includes("ababank") || window.ACCOUNT_NAME?.toLowerCase()?.includes("advanced bank")) ? <Button primary onClick={() => handleDownloadPF()} disabled={!pdfDownloadEnabled}>Download</Button> : <></>
}
<img src='/public/white_logo.svg' alt="Logo" className='top-bar-logo' />
</div>
Expand Down

0 comments on commit 3baf9c2

Please sign in to comment.