浏览代码

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

tags/1.5.1
Joel 4 个月前
父节点
当前提交
f53b177e1f
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/workflow/hooks/use-inspect-vars-crud.ts

+ 1
- 1
web/app/components/workflow/hooks/use-inspect-vars-crud.ts 查看文件

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

正在加载...
取消
保存