Explorar el Código

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

tags/1.5.1
Joel hace 4 meses
padre
commit
f53b177e1f
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar