mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 09:03:53 +00:00
fix: run app node display (#2546)
This commit is contained in:
@@ -408,6 +408,7 @@ const RenderList = React.memo(function RenderList({
|
||||
templates.forEach((item) => {
|
||||
const index = copy.findIndex((template) => template.type === item.templateType);
|
||||
if (index === -1) return;
|
||||
if (item.flowNodeType === FlowNodeTypeEnum.runApp) return;
|
||||
copy[index].list.push(item);
|
||||
});
|
||||
return copy.filter((item) => item.list.length > 0);
|
||||
|
Reference in New Issue
Block a user