This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
chore: new inspected variable add to top position instead of bottom (
#21793
)
tags/1.5.1
Joel
4 months ago
parent
58dfe2ca03
commit
f53b177e1f
No account linked to committer's email address
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
web/app/components/workflow/hooks/use-inspect-vars-crud.ts
+ 1
- 1
web/app/components/workflow/hooks/use-inspect-vars-crud.ts
View File
@@ -117,7 +117,7 @@ const useInspectVarsCrud = () => {
if (nodeInfo) {
const index = draft.findIndex(node => node.nodeId === nodeId)
if (index === -1) {
draft.
p
ush({
draft.u
n
sh
ift
({
nodeId,
nodeType: nodeInfo.data.type,
title: nodeInfo.data.title,
Write
Preview
Loading…
Cancel
Save