diff --git a/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx b/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx index 94c69637a8..883095cf4e 100644 --- a/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureOverview/ReleasePlan/ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx @@ -171,7 +171,9 @@ export const ReleasePlanMilestoneItem = ({ const { pendingProgressionChange, effectiveTransitionCondition } = usePendingProgressionChanges(milestone, getPendingProgressionChange); - const automationSection = ( + const shouldShowAutomation = isNotLastMilestone && milestoneProgressionsEnabled; + + const automationSection = shouldShowAutomation ? ( - ); + ) : undefined; return (