diff options
author | Revanshu Paliwal <revanshu.paliwal@sonarsource.com> | 2022-05-09 12:18:20 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-25 20:03:16 +0000 |
commit | 91726b77a19abb47414eea0969d3beeaf97fbd3d (patch) | |
tree | 3139f193b1b6e9941b1327b5b4f9d0d5604bf5bf | |
parent | 89448847c08173c261453fc4aa3cf7fca23b6c8f (diff) | |
download | sonarqube-91726b77a19abb47414eea0969d3beeaf97fbd3d.tar.gz sonarqube-91726b77a19abb47414eea0969d3beeaf97fbd3d.zip |
SONAR-16316 Regulatory report api integration fixes
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectRegulatoryReport/RegulatoryReport.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectRegulatoryReport/RegulatoryReport.tsx b/server/sonar-web/src/main/js/apps/projectRegulatoryReport/RegulatoryReport.tsx index f8cda88b0cc..55d3c489b60 100644 --- a/server/sonar-web/src/main/js/apps/projectRegulatoryReport/RegulatoryReport.tsx +++ b/server/sonar-web/src/main/js/apps/projectRegulatoryReport/RegulatoryReport.tsx @@ -45,9 +45,9 @@ function RegulatoryReport(props: Props) { <div className="big-spacer-top"> <a className={classNames('button button-primary', { disabled: downloadStarted })} - download={[component.name, branchName, 'PDF Report.pdf'].filter(s => !!s).join(' - ')} + download={[component.name, branchName, 'PDF Report'].filter(s => !!s).join(' - ')} onClick={() => setDownloadStarted(true)} - href={downloadStarted ? '#' : getRegulatoryReportUrl(component.key, branchName)} + href={getRegulatoryReportUrl(component.key, branchName)} target="_blank" rel="noopener noreferrer"> {translate('download_verb')} |