mirror of https://github.com/langgenius/dify.git
feat: Add subItems mapping to Panel component for enhanced item details
This commit is contained in:
parent
0d9991ec88
commit
933ad0649c
|
|
@ -213,6 +213,11 @@ const Panel: FC<NodePanelProps<DataSourceNodeType>> = ({ id, data }) => {
|
|||
name={item.name}
|
||||
type={item.type}
|
||||
description={item.description}
|
||||
subItems={item.subItems.map(item => ({
|
||||
name: item.name,
|
||||
type: item.type,
|
||||
description: item.description,
|
||||
}))}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue