Reset selectedStep with proper step (#9867)

as title
fixes
https://discord.com/channels/1130383047699738754/1331215762840485908
This commit is contained in:
martmull
2025-01-27 15:35:29 +01:00
committed by GitHub
parent 687b61849a
commit 7362558e30

View File

@ -64,7 +64,7 @@ export const WorkflowVariablesDropdown = ({
const handleSubItemSelect = (subItem: string) => {
onVariableSelect(subItem);
setSelectedStep(undefined);
setSelectedStep(initialStep);
closeDropdown();
};