Commit a206d772 by heheer Committed by GitHub

fix: run app node display (#2546)

parent 14bd1b54
......@@ -45,8 +45,8 @@ const systemNodes: FlowNodeTemplateType[] = [
LafModule,
IfElseNode,
VariableUpdateNode,
CodeNode
// RunAppModule
CodeNode,
RunAppModule
];
/* app flow module templates */
export const appSystemModuleTemplates: FlowNodeTemplateType[] = [
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment