From 3be6d1cd67d597155d2add8ef9b8a3f4eb9b0b8c Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 22 Jan 2024 23:08:37 +0530 Subject: [PATCH] fixed --- src/js/macros.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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]=""; }