mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-04 11:14:10 +08:00
fix: self node type shouldn't show in the picker (#4445)
This commit is contained in:
parent
3df47b7b59
commit
0f1172f55b
@ -84,7 +84,7 @@ const Item = ({
|
|||||||
}}
|
}}
|
||||||
trigger={renderTrigger}
|
trigger={renderTrigger}
|
||||||
popupClassName='!w-[328px]'
|
popupClassName='!w-[328px]'
|
||||||
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes)}
|
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes).filter(item => item !== data.type)}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user