diff --git a/src/components/InteractiveEditor/ExportConfigMenu.vue b/src/components/InteractiveEditor/ExportConfigMenu.vue index f1892029..6d316e5d 100644 --- a/src/components/InteractiveEditor/ExportConfigMenu.vue +++ b/src/components/InteractiveEditor/ExportConfigMenu.vue @@ -70,7 +70,7 @@ export default { const filename = 'dashy_conf.yml'; const config = this.convertJsonToYaml(); const element = document.createElement('a'); - element.setAttribute('href', `data:text/plain;charset=utf-8, ${encodeURIComponent(config)}`); + element.setAttribute('href', `data:text/plain;charset=utf-8,${encodeURIComponent(config)}`); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element);