fix: var pos to start pos

pull/21823/head
Joel 11 months ago
parent 2a2964cd0b
commit bc75230480

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

Loading…
Cancel
Save