diff --git a/packages/console/src/components/CreateConnectorForm/index.tsx b/packages/console/src/components/CreateConnectorForm/index.tsx index 8f9fbab52..a7af31c50 100644 --- a/packages/console/src/components/CreateConnectorForm/index.tsx +++ b/packages/console/src/components/CreateConnectorForm/index.tsx @@ -48,7 +48,11 @@ function CreateConnectorForm({ onClose, isOpen: isFormOpen, type }: Props) { const { currentTenantId } = useContext(TenantsContext); const { data: currentPlan } = useSubscriptionPlan(currentTenantId); - const isStandardConnectorDisabled = !currentPlan?.quota.standardConnectorsLimit; + const { + quota: { standardConnectorsLimit }, + } = currentPlan ?? { quota: { standardConnectorsLimit: 0 } }; + + const isStandardConnectorDisabled = isCloud && standardConnectorsLimit === 0; const groups = useMemo(() => { if (!factories || !existingConnectors) {