macrosList changes,

This commit is contained in:
sanjayk03-dev
2024-01-28 01:36:05 +05:30
parent d331be7880
commit 621b4d2616
5 changed files with 26 additions and 42 deletions

View File

@@ -276,7 +276,7 @@ script#control-view-template(type="text/x-template")
.fa.fa-folder-open
form.gcode-file-input.file-upload
input(type="file", @change="uploadGCode", :disabled="!is_ready",
input(type="file", @change="upload", :disabled="!is_ready",
accept=".nc,.ngc,.gcode,.gc")
a(:disabled="!state.selected", download,
@@ -303,7 +303,7 @@ script#control-view-template(type="text/x-template")
|  Selected
select(title="Select previously uploaded GCode programs.",
v-model="state.selected", @change="loadGCode", :disabled="!is_ready",
v-model="state.selected", @change="load", :disabled="!is_ready",
style="max-width:100%")
option(v-for="file in gcodeFiles", :value="file") {{file}}