Skip to content

Commit a4ba04d

Browse files
committed
chore: add check for resource id in cluster catalog
1 parent bd7e879 commit a4ba04d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/ClusterNodes/ClusterOverview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ function ClusterOverview({ selectedCluster, addTab }: ClusterOverviewProps) {
485485
<Catalog
486486
resourceId={clusterId}
487487
resourceType={ResourceKindType.cluster}
488-
catalogSchemaResourceId={clusterDetails.catalogSchemaResourceId}
488+
catalogSchemaResourceId={clusterDetails?.catalogSchemaResourceId}
489489
/>
490490
)}
491491
<GenericDescription

src/config/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ export const Routes = {
209209
UPLOAD_CUSTOM_CHART: 'deployment/template/upload',
210210
DOWNLOAD_CUSTOM_CHART: 'deployment/template/download',
211211
CLUSTER_LIST: 'k8s/capacity/cluster/list',
212-
CLUSTER_LIST_MIN: 'k8s/capacity/cluster/list/raw',
213212
CLUSTER_CAPACITY: 'k8s/capacity/cluster',
214213
NODE_LIST: 'k8s/capacity/node/list',
215214
TAINTS_EDIT: 'k8s/capacity/node/taints/edit',

0 commit comments

Comments
 (0)