load diagram page even if processes are not set w/ burnettk cullerton

This commit is contained in:
jasquat 2022-11-18 15:01:41 -05:00
parent d3c1c0d31a
commit 2464df4b81
1 changed files with 1 additions and 3 deletions

View File

@ -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 (