diff --git a/packages/cp-frontend/src/components/manifest/edit-or-create.js b/packages/cp-frontend/src/components/manifest/edit-or-create.js index a66f36d5..6c3ad923 100644 --- a/packages/cp-frontend/src/components/manifest/edit-or-create.js +++ b/packages/cp-frontend/src/components/manifest/edit-or-create.js @@ -358,18 +358,20 @@ export const Review = ({ Image: {config.image} - - onEnvironmentToggle(name)} - > - Environment variables{' '} - - - {environmentToggles[name] + {config.environment && config.environment.length ? : null} + {config.environment && config.environment.length ? + onEnvironmentToggle(name)} + > + Environment variables{' '} + + + : null} + {config.environment && config.environment.length && environmentToggles[name] ? : null}