minor fixes
This commit is contained in:
@@ -134,6 +134,8 @@ module.exports = {
|
||||
console.error("Restore Failed: ", error);
|
||||
alert("Restore failed");
|
||||
}
|
||||
this.fileName = "default";
|
||||
this.GCodeNotFound = false;
|
||||
},
|
||||
upload: async function (e) {
|
||||
const files = e.target.files || e.dataTransfer.files;
|
||||
|
||||
@@ -29,8 +29,9 @@ script#macros-template(type="text/x-template")
|
||||
| Selected
|
||||
|
||||
message(:show.sync="macroFound")
|
||||
h3(slot="header") The file is currently being used by a macro.
|
||||
p(slot="body")
|
||||
h3(slot="header") Alert
|
||||
div(slot="body")
|
||||
p The file is currently being used by a macro.
|
||||
p You need to re-select a file for the macro.
|
||||
div(slot="footer")
|
||||
button.pure-button(@click="macroFound = false") Cancel
|
||||
@@ -70,7 +71,7 @@ script#macros-template(type="text/x-template")
|
||||
|
||||
message(:show.sync="GCodeNotFound")
|
||||
h3(slot="header") File not found
|
||||
p(slot="body")
|
||||
div(slot="body")
|
||||
p It seems like the file you selected cannot be found.
|
||||
div(slot="footer")
|
||||
button.pure-button.button-error(@click="removeFromList")
|
||||
|
||||
Reference in New Issue
Block a user