We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d44b0c7 + 8ef419b commit 4d5a79fCopy full SHA for 4d5a79f
src/components/InteractiveEditor/ExportConfigMenu.vue
@@ -70,7 +70,7 @@ export default {
70
const filename = 'dashy_conf.yml';
71
const config = this.convertJsonToYaml();
72
const element = document.createElement('a');
73
- element.setAttribute('href', `data:text/plain;charset=utf-8, ${encodeURIComponent(config)}`);
+ element.setAttribute('href', `data:text/plain;charset=utf-8,${encodeURIComponent(config)}`);
74
element.setAttribute('download', filename);
75
element.style.display = 'none';
76
document.body.appendChild(element);
0 commit comments