Kaynağa Gözat

chore: new inspected variable add to top position instead of bottom (#21793)

tags/1.5.1
Joel 4 ay önce
ebeveyn
işleme
f53b177e1f
No account linked to committer's email address

+ 1
- 1
web/app/components/workflow/hooks/use-inspect-vars-crud.ts Dosyayı Görüntüle

@@ -117,7 +117,7 @@ const useInspectVarsCrud = () => {
if (nodeInfo) {
const index = draft.findIndex(node => node.nodeId === nodeId)
if (index === -1) {
draft.push({
draft.unshift({
nodeId,
nodeType: nodeInfo.data.type,
title: nodeInfo.data.title,

Loading…
İptal
Kaydet