chore: put new run var to the top (#21816)
This commit is contained in:
@@ -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])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user