Added config file, edited config.py , added save funcs

This commit is contained in:
sanjayk03-dev
2024-01-02 13:52:53 +05:30
parent c9204ad2d1
commit f277cd9690
6 changed files with 47 additions and 30 deletions

View File

@@ -496,24 +496,6 @@ module.exports = {
showProbeDialog: function(probeType) {
SvelteComponents.showDialog("Probe", { probeType });
},
runMacros: function(id){
if(id==null || id == undefined ){
console.log("id null/undefined");
return;
}
if(this.config.macros!=undefined && this.config.macros.length!=0){
this.config.macros.find(el=>{
if(el.id==id){
console.log(el);
}else{
console.log("error in finding macros");
}
})
}else{
console.log("No macros found");
}
}
},