π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Correct config export removing leading space
Alberto Caravacaf3c854378c64
diff --git a/src/components/InteractiveEditor/ExportConfigMenu.vue b/src/components/InteractiveEditor/ExportConfigMenu.vueindex 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);