fixing checkbox

This commit is contained in:
sanjayk03-dev
2024-02-22 04:02:08 +05:30
parent 7d8a4c1fe9
commit db1261b4c4

View File

@@ -19,7 +19,6 @@ module.exports = {
addMacros: false, addMacros: false,
maxLimitReached: false, maxLimitReached: false,
macrosName: "", macrosName: "",
macrosAlert: true,
fileName: "default", fileName: "default",
newGcode: "", newGcode: "",
}; };
@@ -74,8 +73,6 @@ module.exports = {
editedAlert: function (event) { editedAlert: function (event) {
if (this.tab != 0 && this.config.macros[this.tab - 1].alert != event.target.value) { if (this.tab != 0 && this.config.macros[this.tab - 1].alert != event.target.value) {
this.$dispatch("macros-edited"); this.$dispatch("macros-edited");
console.log(event.target.value);
this.macrosAlert = !event.target.value;
} }
}, },
editedName: function (event) { editedName: function (event) {