From 1a78461443e4f85461283c1921694a5fb28ea39f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 28 Dec 2019 17:02:34 +0200 Subject: fixed import-export --- src/components/export_import/export_import.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/export_import') 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') -- cgit v1.2.3-70-g09d2