Skip to content

Commit

Permalink
feat: Improve export name
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume DESPREZ (T0128193) committed Jun 6, 2024
1 parent ef00771 commit 932946a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 932946a

Please sign in to comment.