removed download macros in macros page

This commit is contained in:
sanjayk03-dev
2024-06-08 00:37:46 +05:30
parent b57764083e
commit 4d125efb0f
2 changed files with 7 additions and 8 deletions

View File

@@ -56,12 +56,6 @@ module.exports = {
initial_tab: function () {
return this.tab == 0;
},
download_macros_url: function () {
return "/api/macros/download/" + this.state.macros_list.map(item => item.file_name).join(",");
},
can_download_macros: function () {
return this.state.macros_list.length;
},
},
methods: {
open: function () {
@@ -101,6 +95,11 @@ module.exports = {
});
},
printconfig: function () {
console.log(this.state);
console.log(this.config);
},
update_config: function () {
this.config.gcode_list = [...this.state.gcode_list];
this.config.non_macros_list = [...this.state.non_macros_list];