fixing checkbox
This commit is contained in:
@@ -545,7 +545,7 @@ module.exports = {
|
||||
}
|
||||
try {
|
||||
this.load();
|
||||
if (this.config.macros[id].alert) {
|
||||
if (this.config.macros[id].alert == true) {
|
||||
this.macrosLoading = true;
|
||||
} else {
|
||||
setImmediate(() => this.start_pause());
|
||||
|
||||
@@ -74,6 +74,7 @@ module.exports = {
|
||||
editedAlert: function (event) {
|
||||
if (this.tab != 0 && this.config.macros[this.tab - 1].alert != event.target.value) {
|
||||
this.$dispatch("macros-edited");
|
||||
this.macrosAlert = event.target.value;
|
||||
}
|
||||
},
|
||||
editedName: function (event) {
|
||||
@@ -214,7 +215,6 @@ module.exports = {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var file_name = this.fileName == "default" ? formattedFilename + ".ngc" : this.fileName;
|
||||
var file = this.newGcode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user