deleting except macros

This commit is contained in:
sanjayk03-dev
2024-01-23 04:44:21 +05:30
parent c903552770
commit 82bb6cdc47
2 changed files with 10 additions and 9 deletions

View File

@@ -420,7 +420,7 @@ module.exports = {
},
delete_all_except_macros: function() {
const macrosList=this.config.macros.map(item=>item.gcode_file_name).toString();
const macrosList=this.config.macrosList.map(item=>item.gcode_file_name).toString();
api.delete(`file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${macrosList}`);
this.deleteGCode = false;
},