mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 08:45:55 +08:00
fix: classify remove always remove the last one (#18959)
This commit is contained in:
parent
2c2af1d117
commit
315436e43b
@ -63,7 +63,7 @@ const ClassList: FC<Props> = ({
|
|||||||
return (
|
return (
|
||||||
<Item
|
<Item
|
||||||
nodeId={nodeId}
|
nodeId={nodeId}
|
||||||
key={index}
|
key={list[index].id}
|
||||||
payload={item}
|
payload={item}
|
||||||
onChange={handleClassChange(index)}
|
onChange={handleClassChange(index)}
|
||||||
onRemove={handleRemoveClass(index)}
|
onRemove={handleRemoveClass(index)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user