Fix/csv logs (#505)

* fix: use async csv lib

* fix: wording on the wizard

* chore: builded react files
This commit is contained in:
Rafael Taranto 2020-11-09 10:27:44 +00:00 committed by GitHub
parent 55c4aae8d5
commit 5434e9f8e6
10 changed files with 49 additions and 18 deletions

View file

@ -192,8 +192,10 @@ const LogsDownloaderPopover = ({ name, query, args, title, getLogs }) => {
FileSaver.saveAs(
blob,
selectedRadio === ALL
? `${formatDateFile(new Date())}_${name}`
: `${formatDateFile(range.from)}_${formatDateFile(range.until)}_${name}`
? `${formatDateFile(new Date())}_${name}.csv`
: `${formatDateFile(range.from)}_${formatDateFile(
range.until
)}_${name}.csv`
)
}