Reset selectedStep with proper step (#9867)
as title fixes https://discord.com/channels/1130383047699738754/1331215762840485908
This commit is contained in:
@ -64,7 +64,7 @@ export const WorkflowVariablesDropdown = ({
|
||||
|
||||
const handleSubItemSelect = (subItem: string) => {
|
||||
onVariableSelect(subItem);
|
||||
setSelectedStep(undefined);
|
||||
setSelectedStep(initialStep);
|
||||
closeDropdown();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user