diff --git a/src/components/cluster/Cluster.tsx b/src/components/cluster/Cluster.tsx index f61544e2c6..d87a3f3f0c 100644 --- a/src/components/cluster/Cluster.tsx +++ b/src/components/cluster/Cluster.tsx @@ -309,7 +309,7 @@ export default class ClusterList extends Component { isKubeConfigFile={this.state.isKubeConfigFile} toggleClusterDetails={this.toggleClusterDetails} isVirtualCluster={false} - isProd="false" + isProd={false} /> )} @@ -848,7 +848,7 @@ const Cluster = ({ toggleEditMode={toggleEditMode} toggleClusterDetails isVirtualCluster={isVirtualCluster} - isProd={isProd.toString()} + isProd={isProd} /> diff --git a/src/components/cluster/ClusterForm.tsx b/src/components/cluster/ClusterForm.tsx index 0cb02635b3..f3d90d16ec 100644 --- a/src/components/cluster/ClusterForm.tsx +++ b/src/components/cluster/ClusterForm.tsx @@ -203,7 +203,7 @@ export default function ClusterForm({ token: { value: config?.bearer_token ? config.bearer_token : '', error: '' }, endpoint: { value: prometheus_url || '', error: '' }, authType: { value: authenTicationType, error: '' }, - isProd: { value: isProd, error: '' }, + isProd: { value: isProd.toString(), error: '' }, }, { cluster_name: {