-
+
diff --git a/Step/wwwroot/src/modules/axes-softkeys.vue b/Step/wwwroot/src/modules/axes-softkeys.vue
index 7a32537d..ed52d1e9 100644
--- a/Step/wwwroot/src/modules/axes-softkeys.vue
+++ b/Step/wwwroot/src/modules/axes-softkeys.vue
@@ -31,6 +31,9 @@ export default {
},
selectedAxisId: function() {
return this.$store.state.process.selectedAxis;
+ },
+ isDisabled(){
+ return this.checkSecurityDisabled('axesSoftkeys');
}
},
methods: {
@@ -44,10 +47,9 @@ export default {
},
setAxes(id) {
Hub.Current.selectAxis(id);
- },
+ }
},
props:{
- isDisabled: { default: true, type: Boolean }
},
data: function() {
return {
diff --git a/Step/wwwroot/src/modules/under-the-hood/auto-menu.vue b/Step/wwwroot/src/modules/under-the-hood/auto-menu.vue
index 80c88e50..361a32d3 100644
--- a/Step/wwwroot/src/modules/under-the-hood/auto-menu.vue
+++ b/Step/wwwroot/src/modules/under-the-hood/auto-menu.vue
@@ -25,6 +25,7 @@ export default {
return false;
},
isKeyActive(id) {
+ if(this.checkSecurityDisabled('ncSoftkeys')) return false;
let r = this.$store.getters.getNcSoftKeyStatus(id);
if (r) return r.active;
return false;
diff --git a/Step/wwwroot/src/modules/under-the-hood/jog-menu.vue b/Step/wwwroot/src/modules/under-the-hood/jog-menu.vue
index 1be87272..18915c9c 100644
--- a/Step/wwwroot/src/modules/under-the-hood/jog-menu.vue
+++ b/Step/wwwroot/src/modules/under-the-hood/jog-menu.vue
@@ -1,6 +1,6 @@