Skip to content

Commit 4d5a79f

Browse files
authored
🔀 Merge pull request #1087 from albcp/master
Fix configuration export
2 parents d44b0c7 + 8ef419b commit 4d5a79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/InteractiveEditor/ExportConfigMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default {
7070
const filename = 'dashy_conf.yml';
7171
const config = this.convertJsonToYaml();
7272
const element = document.createElement('a');
73-
element.setAttribute('href', `data:text/plain;charset=utf-8, ${encodeURIComponent(config)}`);
73+
element.setAttribute('href', `data:text/plain;charset=utf-8,${encodeURIComponent(config)}`);
7474
element.setAttribute('download', filename);
7575
element.style.display = 'none';
7676
document.body.appendChild(element);

0 commit comments

Comments
 (0)