diff --git a/src/js/macros.js b/src/js/macros.js index 7c37044..607e6c5 100644 --- a/src/js/macros.js +++ b/src/js/macros.js @@ -94,6 +94,9 @@ module.exports = { }); }, loadMacrosGcode: async function () { + if(this.tab==0){ + return; + } const file = this.fileName; if (file != "default") { const response = await fetch(`/api/file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${file}`, {