changed null to empty string

This commit is contained in:
sanjayk03-dev
2024-01-02 15:06:13 +05:30
parent 06b1cde647
commit 7302c955de
2 changed files with 22 additions and 22 deletions

View File

@@ -203,7 +203,7 @@ module.exports = {
return Math.min(1, p);
},
isMacrosPresent: function(val){
return this.config.macros[val].name=null;
return this.config.macros[val].name!="" || this.config.macros[val].gcode!="";
},
},