diff --git a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx index 6e6884ed9..9a4aba81b 100644 --- a/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx +++ b/packages/twenty-front/src/modules/workflow/workflow-variables/components/WorkflowVariablesDropdown.tsx @@ -64,7 +64,7 @@ export const WorkflowVariablesDropdown = ({ const handleSubItemSelect = (subItem: string) => { onVariableSelect(subItem); - setSelectedStep(undefined); + setSelectedStep(initialStep); closeDropdown(); };