changed current time to line

This commit is contained in:
sanjayk03-dev
2024-03-25 11:31:05 +05:30
parent 806041b771
commit 28424ff48f
2 changed files with 11 additions and 7 deletions

View File

@@ -546,6 +546,7 @@ module.exports = {
}
try {
this.load();
console.log("selected", this.state.selected);
if (this.config.macros[id].alert == true) {
this.macrosLoading = true;
} else {

View File

@@ -19,9 +19,9 @@ script#control-view-template(type="text/x-template")
button.pure-button(@click="showNoGcodeMessage=false") OK
message(:show.sync="macrosLoading")
h3(slot="header") Run Macros?
h3(slot="header") Run Macro?
div(slot="body")
p The selected macros is being loaded.
p The selected macro is being loaded.
div(slot="footer")
button.pure-button(@click="macrosLoading=false") Cancel
@@ -204,20 +204,23 @@ script#control-view-template(type="text/x-template")
td
table.info
tr
th Current Time
td
span {{current_time}}
tr
th Remaining
td(title="Total run time (days:hours:mins:secs)").
#[span(v-if="plan_time_remaining") {{plan_time_remaining | time}} of]
{{toolpath.time | time}}
tr
th ETA
td.eta {{eta}}
tr
th Line
td
| {{0 <= state.line ? state.line : 0 | number}}
span(v-if="toolpath.lines")
| &nbsp;of {{toolpath.lines | number}}
tr
th Progress
td.progress