This commit is contained in:
sanjayk03-dev
2023-12-30 13:00:40 +05:30
parent e9f1fd708b
commit 75353079ba
2 changed files with 8 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ module.exports = new Vue({
full_version: "<loading>",
ip: "<>",
wifiName: "not connected",
macros:[]
macros:[{id:0,name:"Macrostest",color:'#434242',gcode:"test.ngc"}]
},
state: {
messages: [],

View File

@@ -209,7 +209,13 @@ script#control-view-template(type="text/x-template")
.macros-div
.macros-buttons(v-if="this.config.macros!=undefined")
p there is a active macros
each macros in config.macros || {id:0,name:"Macrostest",color:'#434242',gcode:"test.ngc"}
p macros.id
p macros.name
p macros.color
p macros.gcode
.submit-macros(v-if="isMacrosPresent()")
a(href="#macros") Edit Macros
.macros-buttons(v-if="this.config.macros==undefined")
p there is no active macros