Skip to content

Commit

Permalink
- Data file name includes epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
roymckenzie committed Sep 20, 2023
1 parent f4f8cfe commit 9590197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dashboard/Settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ref } from 'vue';
const passphraseModalOpen = ref(false);
const downloadHealthRecordFile = (data) => {
const fileName = 'healthRecord.json';
const fileName = 'healthRecord-' + Date.now() + '.json';
const file = new Blob([JSON.stringify(data)], {
type: 'application/json'
});
Expand Down

0 comments on commit 9590197

Please sign in to comment.