diff --git a/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantModal/EnvironmentVariantModal.tsx b/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantModal/EnvironmentVariantModal.tsx index dfef591e27..f96b8fe8f7 100644 --- a/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantModal/EnvironmentVariantModal.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/EnvironmentVariantModal/EnvironmentVariantModal.tsx @@ -360,7 +360,9 @@ export const EnvironmentVariantModal = ({ ? 'Add to existing change request' : 'Add change to draft'; - const isChangeRequest = isChangeRequestConfigured(environment?.name || ''); + const isChangeRequest = + isChangeRequestConfigured(environment?.name || '') && + uiConfig.flags.crOnVariants; return (