mirror of
https://github.com/langgenius/dify.git
synced 2025-12-30 11:30:58 +00:00
chore: put new run var to the top (#21816)
This commit is contained in:
parent
826bf25abf
commit
0c39490bb1
@ -127,6 +127,8 @@ const useInspectVarsCrud = () => {
|
||||
}
|
||||
else {
|
||||
draft[index].vars = payload
|
||||
// put the node to the top
|
||||
draft.unshift(draft.splice(index, 1)[0])
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user