From abd158d12964d265e7748ae99131bc0b36bd400a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Wed, 1 Dec 2021 21:34:07 +0100 Subject: [PATCH] fix: allow user to create up to 7 environments (#543) --- .../environments/CreateEnvironment/CreateEnvironment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/environments/CreateEnvironment/CreateEnvironment.tsx b/frontend/src/component/environments/CreateEnvironment/CreateEnvironment.tsx index 1c9228824e..2eb5f8bb3f 100644 --- a/frontend/src/component/environments/CreateEnvironment/CreateEnvironment.tsx +++ b/frontend/src/component/environments/CreateEnvironment/CreateEnvironment.tsx @@ -39,7 +39,7 @@ const CreateEnvironment = () => { const goBack = () => history.goBack(); - const canCreateMoreEnvs = environments.length < 5; + const canCreateMoreEnvs = environments.length < 7; const validateEnvironmentName = async () => { if (envName.length === 0) {