Skip to content

Commit

Permalink
fix: ClusterForm - types fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitRaj011 committed Nov 5, 2024
1 parent c480cd8 commit ef66d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/cluster/Cluster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export default class ClusterList extends Component<ClusterListProps, any> {
isKubeConfigFile={this.state.isKubeConfigFile}
toggleClusterDetails={this.toggleClusterDetails}
isVirtualCluster={false}
isProd="false"
isProd={false}
/>
</Drawer>
)}
Expand Down Expand Up @@ -848,7 +848,7 @@ const Cluster = ({
toggleEditMode={toggleEditMode}
toggleClusterDetails
isVirtualCluster={isVirtualCluster}
isProd={isProd.toString()}
isProd={isProd}
/>
</div>
</Drawer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/cluster/ClusterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit ef66d23

Please sign in to comment.