mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: allow user to create up to 7 environments (#543)
This commit is contained in:
parent
4d82c95ce0
commit
abd158d129
@ -39,7 +39,7 @@ const CreateEnvironment = () => {
|
|||||||
|
|
||||||
const goBack = () => history.goBack();
|
const goBack = () => history.goBack();
|
||||||
|
|
||||||
const canCreateMoreEnvs = environments.length < 5;
|
const canCreateMoreEnvs = environments.length < 7;
|
||||||
|
|
||||||
const validateEnvironmentName = async () => {
|
const validateEnvironmentName = async () => {
|
||||||
if (envName.length === 0) {
|
if (envName.length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user