From 0f697a91ab3d38be7efee0b0a2013b538d882ffb Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Fri, 9 Jun 2023 16:14:35 -0700 Subject: [PATCH] updated the workspace limit --- frontend/src/layouts/AppLayout/AppLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index 27cb014cb..be04e0bad 100644 --- a/frontend/src/layouts/AppLayout/AppLayout.tsx +++ b/frontend/src/layouts/AppLayout/AppLayout.tsx @@ -61,7 +61,7 @@ export const AppLayout = ({ children }: LayoutProps) => { const { subscription } = useSubscription(); const host = window.location.origin; - const isAddingProjectsAllowed = ((subscription?.workspacesUsed || 0) < (subscription?.workspaceLimit || 1)) || host !== 'https://app.infisical.com'; + const isAddingProjectsAllowed = ((subscription?.workspacesUsed || 1) < (subscription?.workspaceLimit || 3)) || host !== 'https://app.infisical.com'; const createWs = useCreateWorkspace(); const uploadWsKey = useUploadWsKey();