Merge remote-tracking branch 'origin/main' into deploy-app-dev

This commit is contained in:
jasquat 2023-06-23 09:21:38 -04:00
commit 7909ea869c
1 changed files with 4 additions and 4 deletions

View File

@ -171,14 +171,14 @@ export default function ProcessModelEditDiagram() {
}, [processModelPath, params]);
useEffect(() => {
const bpmn_process_ids = processModelFile?.bpmn_process_ids;
if (processModel !== null && bpmn_process_ids) {
const bpmnProcessIds = processModelFile?.bpmn_process_ids;
if (processModel !== null && bpmnProcessIds) {
HttpService.makeCallToBackend({
path: `/processes/callers/${bpmn_process_ids.join(',')}`,
path: `/processes/callers/${bpmnProcessIds.join(',')}`,
successCallback: setCallers,
});
}
}, [processModel]);
}, [processModel, processModelFile]);
const handleFileNameCancel = () => {
setShowFileNameEditor(false);