From 7362558e304c73eb441b36bdcf6be562c36056a9 Mon Sep 17 00:00:00 2001 From: martmull Date: Mon, 27 Jan 2025 15:35:29 +0100 Subject: [PATCH] Reset selectedStep with proper step (#9867) as title fixes https://discord.com/channels/1130383047699738754/1331215762840485908 --- .../workflow-variables/components/WorkflowVariablesDropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); };