mirror of https://github.com/rancher/dashboard.git
Disable clone on node and node accessories (#3541)
This commit is contained in:
parent
b3e71bdf18
commit
72d1318953
|
|
@ -30,6 +30,10 @@ export default {
|
|||
return out;
|
||||
},
|
||||
|
||||
canClone() {
|
||||
return false;
|
||||
},
|
||||
|
||||
openSsh() {
|
||||
return () => {
|
||||
this.$dispatch('wm/open', {
|
||||
|
|
|
|||
|
|
@ -383,6 +383,10 @@ export default {
|
|||
return true;
|
||||
},
|
||||
|
||||
canClone() {
|
||||
return false;
|
||||
},
|
||||
|
||||
// You need to preload CAPI.MACHINEs to use this
|
||||
provisionedMachine() {
|
||||
const namespace = this.metadata?.annotations?.[CAPI_ANNOTATIONS.CLUSTER_NAMESPACE];
|
||||
|
|
|
|||
|
|
@ -85,6 +85,9 @@ export default {
|
|||
id: this.namespace
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
canClone() {
|
||||
return false;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue