chore: put runed var to the top

pull/21816/head
Joel 11 months ago
parent 826bf25abf
commit a10b190e4b

@ -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