🐛 Closes editor when saved locally

This commit is contained in:
Alicia Sykes 2021-11-06 22:40:05 +00:00
parent da929d0980
commit 6863121916

View File

@ -152,6 +152,7 @@ export default {
}
InfoHandler('Config has succesfully been saved in browser storage', 'Config Update');
this.showToast(this.$t('config-editor.success-msg-local'), true);
this.$store.commit(StoreKeys.SET_EDIT_MODE, false);
},
writeToDisk() {
// 1. Convert JSON into YAML