final test

This commit is contained in:
sanjayk03-dev
2024-01-30 22:04:32 +05:30
parent 452ee7775c
commit baf7b5ff29
2 changed files with 3 additions and 3 deletions

View File

@@ -70,12 +70,12 @@ module.exports = {
this.$dispatch("macros-edited");
},
editedColor: function (event) {
if (this.config.macros[this.tab - 1].color != event.target.value) {
if (this.tab != 0 && this.config.macros[this.tab - 1].color != event.target.value) {
this.$dispatch("macros-edited");
}
},
editedName: function (event) {
if (this.config.macros[this.tab - 1].name != event.target.value) {
if (this.tab != 0 && this.config.macros[this.tab - 1].name != event.target.value) {
this.$dispatch("macros-edited");
}
},