disabling button

This commit is contained in:
sanjayk03-dev
2024-10-14 12:49:41 +05:30
parent 57c2159b20
commit 7c7faf3d92
3 changed files with 16 additions and 2 deletions

View File

@@ -241,6 +241,11 @@ module.exports = new Vue({
if(this.config.motors[2]['axis'] == 'Y') return false;
return true;
},
enable_rotary: function() {
if(this.config.motors[2]['axis'] == 'Y' || this.config.motors[2]['axis'] == 'A') return true;
return false;
}
},
ready: function() {