chore: put new run var to the top (#21816)

release/e-3.2.0
Joel 7 months ago committed by GitHub
parent 826bf25abf
commit 0c39490bb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -127,6 +127,8 @@ const useInspectVarsCrud = () => {
} }
else { else {
draft[index].vars = payload draft[index].vars = payload
// put the node to the top
draft.unshift(draft.splice(index, 1)[0])
} }
} }
}) })

Loading…
Cancel
Save