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