Skip to content

Commit 815fe43

Browse files
committed
Update CreateManagedControlPlaneWizardContainer.tsx
1 parent c7700ce commit 815fe43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Wizards/CreateManagedControlPlane/CreateManagedControlPlaneWizardContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ export const CreateManagedControlPlaneWizardContainer: FC<CreateManagedControlPl
484484
appliedTemplateMembersRef.current = true;
485485
}, [selectedStep, selectedTemplate, watch, setValue, user?.email, normalizeMemberRole, normalizeMemberKind]);
486486
const setInitialComponentsListHandler = (components: ComponentsListItem[]) => {
487-
if (!isEditMode) return;
487+
if (isEditMode && isDuplicateMode) return;
488488
setInitialMcpDataWhenInEditMode({ ...initialMcpDataWhenInEditMode, componentsList: components });
489489
};
490490
useEffect(() => {

0 commit comments

Comments
 (0)