From 76dfa3c9793b0d3db3be583c93af1fa8b141c6a2 Mon Sep 17 00:00:00 2001 From: David Leek Date: Mon, 16 Dec 2024 09:18:58 +0100 Subject: [PATCH] fix: use strategyName instead of name property for component to load (#8983) --- .../releases/ReleasePlanTemplate/MilestoneStrategyType.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/releases/ReleasePlanTemplate/MilestoneStrategyType.tsx b/frontend/src/component/releases/ReleasePlanTemplate/MilestoneStrategyType.tsx index dcac2eb701..84eec30e0b 100644 --- a/frontend/src/component/releases/ReleasePlanTemplate/MilestoneStrategyType.tsx +++ b/frontend/src/component/releases/ReleasePlanTemplate/MilestoneStrategyType.tsx @@ -24,7 +24,7 @@ export const MilestoneStrategyType = ({ return null; } - switch (strategy.name) { + switch (strategy.strategyName) { case 'default': return ; case 'flexibleRollout':