Skip to content

Commit ebf0168

Browse files
Update src/components/ControlPlanes/ControlPlaneCard/ControlPlaneCard.tsx
Co-authored-by: Copilot <[email protected]>
1 parent f85c96f commit ebf0168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/ControlPlanes/ControlPlaneCard/ControlPlaneCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ export function ControlPlaneCard({
6464
const namespace = controlPlane.metadata.namespace;
6565

6666
const isSystemIdentityProviderEnabled =
67-
!!controlPlane.spec?.authentication
68-
?.enableSystemIdentityProvider;
67+
Boolean(controlPlane.spec?.authentication?.enableSystemIdentityProvider);
6968

7069
const isConnectButtonEnabled =
7170
canConnectToMCP(controlPlane) &&

0 commit comments

Comments
 (0)