input value set to prev value

This commit is contained in:
sanjayk03-dev
2024-01-23 14:50:34 +05:30
parent e4f364e6db
commit e952203a6f
2 changed files with 22 additions and 22 deletions

View File

@@ -248,7 +248,7 @@ module.exports = {
const itemsToDelete = this.config.macrosList.filter(el => !this.isPresent(el));
const macrosList = itemsToDelete.map(item => item.gcode_file_name).toString();
api.delete(`file/DINCAIQABiDARixAxiABDIHCAMQABiABDIHCAQQABiABDIH${macrosList}`);
this.config.macrosList = defaultMacrosList;
this.config.macrosList = this.defaultMacrosList;
this.deleteGCode = false;
try {
await api.put("config/save", this.config);