From 2464df4b8146c9f24f27de427bb1e0af4dd5b6ac Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 18 Nov 2022 15:01:41 -0500 Subject: [PATCH] load diagram page even if processes are not set w/ burnettk cullerton --- spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx index af6911532..537406ee0 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx @@ -838,9 +838,7 @@ export default function ProcessModelEditDiagram() { // if a file name is not given then this is a new model and the ReactDiagramEditor component will handle it if ( - (bpmnXmlForDiagramRendering || !params.file_name) && - processModel && - processes.length > 0 + (bpmnXmlForDiagramRendering || !params.file_name) && processModel ) { const processModelFileName = processModelFile ? processModelFile.name : ''; return (