diff --git a/frontend/src/component/feature/CopyFeature/CopyFeature.tsx b/frontend/src/component/feature/CopyFeature/CopyFeature.tsx index 5100321f29..d0794eab1a 100644 --- a/frontend/src/component/feature/CopyFeature/CopyFeature.tsx +++ b/frontend/src/component/feature/CopyFeature/CopyFeature.tsx @@ -78,6 +78,9 @@ export const CopyFeatureToggle = () => { const navigate = useNavigate(); const { isChangeRequestConfiguredInAnyEnv } = useChangeRequestsEnabled(projectId); + const hasReleasePlan = feature.environments?.some((env) => + Boolean(env.releasePlans?.length), + ); const { project: { featureNaming }, @@ -146,6 +149,16 @@ export const CopyFeatureToggle = () => { } /> + + Cloning a feature flag will not clone the associated + release plans. You will need to set up a new release + plan for the cloned feature flag. + + } + /> You are about to create a new feature flag by cloning the