Commit cd7a279e authored by Anton's avatar Anton
Browse files

Fix download link

parent cd3b6748
Pipeline #14373 passed with stage
in 1 minute and 35 seconds
......@@ -79,7 +79,7 @@
})
const download = document.createElement('a')
download.setAttribute('href', encodeURI(csvData))
download.setAttribute('download', `${ObjectUtil.slug()}${this.timeline._uuid}.csv`)
download.setAttribute('download', `${ObjectUtil.slug(this.timeline.title)}-${this.timeline._uuid}.csv`)
this.exportLabel = this.$t('buttons.download_csv')
this.downloadURL = download
document.body.appendChild(this.downloadURL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment