fixed import-export

This commit is contained in:
Henry Jameson 2019-12-28 17:02:34 +02:00
parent e5a34870f0
commit 1a78461443
4 changed files with 56 additions and 11 deletions

View file

@ -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')