diff --git a/src/pug/templates/control-view.pug b/src/pug/templates/control-view.pug index 9b5e17e..26e2007 100644 --- a/src/pug/templates/control-view.pug +++ b/src/pug/templates/control-view.pug @@ -210,7 +210,7 @@ script#control-view-template(type="text/x-template") .macros-div .macros-buttons(v-if="this.config.macros!=undefined!=undefined") p there is a macro - each macros in this.config.macros + each macros in this.config.macros || {id:0,name:"Macrostest",color:'#434242',gcode:"test.ngc"} p macros.id p macros.name p macros.color