mirror of https://github.com/rancher/ui.git
parent
d982d170fd
commit
83af50577f
|
|
@ -392,8 +392,8 @@ export default Component.extend(ClusterDriver, {
|
||||||
importedClusterIsPending: computed('clusterIsPending', 'model.originalCluster', function() {
|
importedClusterIsPending: computed('clusterIsPending', 'model.originalCluster', function() {
|
||||||
const { clusterIsPending } = this;
|
const { clusterIsPending } = this;
|
||||||
const originalCluster = get(this, 'model.originalCluster');
|
const originalCluster = get(this, 'model.originalCluster');
|
||||||
const ourClusterSpec = get(originalCluster, 'eksConfig');
|
const ourClusterSpec = get(( originalCluster ?? {} ), 'eksConfig');
|
||||||
const upstreamSpec = get(originalCluster, 'eksStatus.upstreamSpec');
|
const upstreamSpec = get(( originalCluster ?? {} ), 'eksStatus.upstreamSpec');
|
||||||
|
|
||||||
return clusterIsPending && get(ourClusterSpec, 'imported') && !isEmpty(upstreamSpec);
|
return clusterIsPending && get(ourClusterSpec, 'imported') && !isEmpty(upstreamSpec);
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue