mirror of https://github.com/rancher/ui.git
Only show add node button for RKE cluster
https://github.com/rancher/rancher/issues/10940
This commit is contained in:
parent
65d6826829
commit
bcccf7cadd
|
|
@ -13,7 +13,9 @@ var Cluster = Resource.extend(ResourceUsage, {
|
|||
machines: hasMany('id', 'machine', 'clusterId'),
|
||||
clusterRoleTemplateBindings: hasMany('id', 'clusterRoleTemplateBinding', 'clusterId'),
|
||||
|
||||
canAddNode: true, // @TODO-2.0
|
||||
canAddNode: computed('rancherKubernetesEngineConfig', function() {
|
||||
return !!this.get('rancherKubernetesEngineConfig');
|
||||
}),
|
||||
|
||||
actions: {
|
||||
edit() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue