Skip to content

Commit

Permalink
refactor: version and instance name in backup filename
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Apr 30, 2024
1 parent 678a3b0 commit 31eed9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/settings/GeneralSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export default class GeneralSettings extends Mixins(StateMixin) {
const link = document.createElement('a')
link.href = `data:text/plain;charset=utf-8,${encodeURIComponent(JSON.stringify(data))}`
link.download = 'backup-fluidd.json'
link.download = `backup-fluidd-v${import.meta.env.VERSION}-${this.instanceName}.json`
link.target = '_blank'
document.body.appendChild(link)
Expand Down

0 comments on commit 31eed9e

Please sign in to comment.