π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:triangular_flag_on_post: Adds warning and note for local save
Alicia Sykes7d91d51fa616
diff --git a/src/components/Configuration/JsonEditor.vue b/src/components/Configuration/JsonEditor.vueindex deb933f1..8c5cfbf7 100644--- a/src/components/Configuration/JsonEditor.vue+++ b/src/components/Configuration/JsonEditor.vue@@ -144,7 +144,11 @@ export default {this.writeConfigToDisk(this.config);},saveLocally() {- this.saveConfigLocally(this.jsonData);+ const msg = this.$t('interactive-editor.menu.save-locally-warning');+ const youSure = confirm(msg); // eslint-disable-line no-alert, no-restricted-globals+ if (youSure) {+ this.saveConfigLocally(this.jsonData);+ }},/* Convert error messages into readable format for UI */validationErrors(errors) {