Quellcode durchsuchen

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

tags/1.5.1
Joel vor 4 Monaten
Ursprung
Commit
f53b177e1f
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

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

Laden…
Abbrechen
Speichern