From e9eb4d64697b16aa6eeae2e1a8ecdd69a5961fc1 Mon Sep 17 00:00:00 2001 From: "Guillaume DESPREZ (T0128193)" Date: Thu, 6 Jun 2024 14:05:00 +0200 Subject: [PATCH] feat: Improve export name --- .../main/js/ecosonar_analysis_page/components/AnalysisPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EcoSonar-SonarQube/src/main/js/ecosonar_analysis_page/components/AnalysisPanel.js b/EcoSonar-SonarQube/src/main/js/ecosonar_analysis_page/components/AnalysisPanel.js index 83b34b7..b4e02a3 100644 --- a/EcoSonar-SonarQube/src/main/js/ecosonar_analysis_page/components/AnalysisPanel.js +++ b/EcoSonar-SonarQube/src/main/js/ecosonar_analysis_page/components/AnalysisPanel.js @@ -67,7 +67,7 @@ export default function AnalysisPanel (props) { const fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' const fileExtension = '.xlsx' const blob = new Blob([buffer], { type: fileType }) - saveAs(blob, './audits' + fileExtension) + saveAs(blob, projectName + ' - EcoSonar Audit' + fileExtension) setLoading(false) }) .catch((err) => {