testing conditional rendering

This commit is contained in:
sanjayk03-dev
2023-12-30 12:30:35 +05:30
parent f36ca2b785
commit 3b7a894942

View File

@@ -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