Skip to content

Commit 857606b

Browse files
committed
fix: type
1 parent b23009a commit 857606b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/service/core/app/plugin/controller.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,10 @@ export async function getChildAppPreviewNode({
215215
flowNodeType: app.isFolder ? FlowNodeTypeEnum.toolSet : FlowNodeTypeEnum.tool,
216216
nodeIOConfig: {
217217
inputs: app.isFolder
218-
? ([
218+
? [
219219
{
220+
key: NodeInputKeyEnum.toolSetData,
221+
label: '',
220222
value: {
221223
toolList: children.map((item) => ({
222224
name: parseI18nString(item.name, lang),
@@ -235,7 +237,7 @@ export async function getChildAppPreviewNode({
235237
}
236238
]
237239
: [])
238-
] as FlowNodeInputItemType[])
240+
]
239241
: app.inputs ?? [],
240242
outputs: app.outputs ?? [],
241243
toolConfig: {

0 commit comments

Comments
 (0)