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) => {
|
const handleSubItemSelect = (subItem: string) => {
|
||||||
onVariableSelect(subItem);
|
onVariableSelect(subItem);
|
||||||
setSelectedStep(undefined);
|
setSelectedStep(initialStep);
|
||||||
closeDropdown();
|
closeDropdown();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user