diff --git a/web/app/components/workflow/hooks/use-inspect-vars-crud.ts b/web/app/components/workflow/hooks/use-inspect-vars-crud.ts index e4daaf8220..7dca11d3ed 100644 --- a/web/app/components/workflow/hooks/use-inspect-vars-crud.ts +++ b/web/app/components/workflow/hooks/use-inspect-vars-crud.ts @@ -127,6 +127,8 @@ const useInspectVarsCrud = () => { } else { draft[index].vars = payload + // put the node to the top + draft.unshift(draft.splice(index, 1)[0]) } } })