We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f87ec commit 25e5b22Copy full SHA for 25e5b22
src/components/ControlPlanes/ControlPlaneCard/ControlPlaneCard.tsx
@@ -69,7 +69,9 @@ export function ControlPlaneCard({
69
'AuthorizationHealthy',
70
].every((type) =>
71
conditions.some(
72
- (condition) => condition.type === type && condition.status === true,
+ (condition) =>
73
+ condition.type === type &&
74
+ String(condition.status).toLowerCase() === 'true',
75
),
76
);
77
};
@@ -123,7 +125,7 @@ export function ControlPlaneCard({
123
125
resourceType={'managedcontrolplanes'}
124
126
/>
127
<ConnectButton
- disabled={isConnectButtonEnabled}
128
+ disabled={!isConnectButtonEnabled}
129
controlPlaneName={name}
130
projectName={projectName}
131
workspaceName={workspace.metadata.name ?? ''}
0 commit comments