diff options
| author | Henry Jameson <me@hjkos.com> | 2019-12-28 17:02:34 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-12-28 17:02:34 +0200 |
| commit | 1a78461443e4f85461283c1921694a5fb28ea39f (patch) | |
| tree | fc443910a419617d9886fc3481ef99d60b46db51 /src/components/export_import | |
| parent | e5a34870f0f7154712783fb6d9c20edf4c06ad35 (diff) | |
fixed import-export
Diffstat (limited to 'src/components/export_import')
| -rw-r--r-- | src/components/export_import/export_import.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/export_import/export_import.vue b/src/components/export_import/export_import.vue index 20c6f569..ae00487f 100644 --- a/src/components/export_import/export_import.vue +++ b/src/components/export_import/export_import.vue @@ -42,7 +42,7 @@ export default { }, methods: { exportData () { - const stringified = JSON.stringify(this.exportObject) // Pretty-print and indent with 2 spaces + const stringified = JSON.stringify(this.exportObject, null, 2) // Pretty-print and indent with 2 spaces // Create an invisible link with a data url and simulate a click const e = document.createElement('a') |
