This commit is contained in:
sanjayk03-dev
2024-01-30 22:21:13 +05:30
parent ae2b729735
commit 598cfd9ecc

View File

@@ -94,6 +94,9 @@ module.exports = {
}); });
}, },
loadMacrosGcode: async function () { loadMacrosGcode: async function () {
if(this.tab==0){
return;
}
const file = this.fileName; const file = this.fileName;
if (file != "default") { if (file != "default") {
const response = await fetch(`/api/file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${file}`, { const response = await fetch(`/api/file/EgZjaHJvbWUqCggBEAAYsQMYgAQyBggAEEUYOTIKCAE${file}`, {