testing conditional rendering
This commit is contained in:
@@ -209,9 +209,9 @@ script#control-view-template(type="text/x-template")
|
||||
|
||||
.macros-div
|
||||
.macros-buttons(v-if="config.macros!=undefined")
|
||||
if {{config.macros!=undefined}}
|
||||
if {{config.macros}}!=undefined
|
||||
p there is a macro
|
||||
each macros in config.macros || {id:0,name:"Macrostest",color:'#434242',gcode:"test.ngc"}
|
||||
each macros in {{config.macros}} || {id:0,name:"Macrostest",color:'#434242',gcode:"test.ngc"}
|
||||
p macros.id
|
||||
p macros.name
|
||||
p macros.color
|
||||
|
||||
Reference in New Issue
Block a user