bug fix in delete_selected_macro

This commit is contained in:
sanjayk03-dev
2024-04-08 17:15:48 +05:30
parent c572e57dfd
commit 53efe8de45

View File

@@ -426,6 +426,7 @@ module.exports = {
}
this.config.macros = [...this.state.macros];
this.config.macros.splice(this.tab - 1, 1);
this.tab = this.state.macros.length - 1;
this.clear_macro();
try {
await api.put("config/save", this.config);