fix(private-links): Private Links plans adjustments (#3285)
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@ export default function Page() {
|
||||
disabled: !hasInProgressConnections,
|
||||
});
|
||||
|
||||
const hasPrivateNetworking = true;
|
||||
const hasPrivateNetworking = plan?.v3Subscription?.plan?.limits?.hasPrivateNetworking ?? false;
|
||||
const limit = plan?.v3Subscription?.plan?.limits?.privateLinkConnectionLimit ?? 2;
|
||||
const canAdd = connections.filter((c) => c.status !== "DELETING").length < limit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user