v0.0.10: fix download filename — timestamp локальное время
Deploy drhider / validate (push) Waiting to run
Deploy drhider / validate (push) Waiting to run
This commit is contained in:
@@ -259,7 +259,7 @@ function downloadZip() {
|
||||
if (!currentSid) return;
|
||||
const a = document.createElement('a');
|
||||
a.href = '/api/download/' + currentSid;
|
||||
a.download = 'drhider.zip';
|
||||
a.download = 'drhider_' + ts() + '.zip';
|
||||
a.click();
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ function downloadCsv() {
|
||||
if (!currentSid) return;
|
||||
const a = document.createElement('a');
|
||||
a.href = '/api/csv/' + currentSid;
|
||||
a.download = 'mapping.csv';
|
||||
a.download = 'mapping_' + ts() + '.csv';
|
||||
a.click();
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user