diff --git a/src/js/macros.js b/src/js/macros.js index 1409a17..1e4778c 100644 --- a/src/js/macros.js +++ b/src/js/macros.js @@ -57,12 +57,9 @@ module.exports = { cache: "no-cache", }); const text = (await response.text()).split(" ").join("\n"); - if (text.length > 20e6) { - this.newGcode[this.tab - 1]="File is large - gcode view disabled"; - } else { - // this.newGcode[this.tab - 1]=text; - Vue.set(this.newGcode,this.tab,text); - } + console.log(text); + // this.newGcode[this.tab - 1]=text; + Vue.set(this.newGcode,this.tab-1,text); } else { this.newGcode[this.tab - 1]=""; }