Skip to content

Commit

Permalink
fix: add zip extension to downloaded archive
Browse files Browse the repository at this point in the history
  • Loading branch information
swouf committed Feb 13, 2023
1 parent bae2ef5 commit 7e3ae05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/AppDataToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const AppDataToolbar: FC = () => {
.then(() => {
zip.generateAsync({ type: 'blob' }).then((archive) => {
const d = new Date();
saveAs(archive, `uploaded_files_${d.toISOString()}`);
saveAs(archive, `uploaded_files_${d.toISOString()}.zip`);
setIsLoading(false);
});
})
Expand Down

0 comments on commit 7e3ae05

Please sign in to comment.