more debugging and do not watch ProcessModel with getting processes w/ burnettk

This commit is contained in:
jasquat 2023-01-09 16:40:44 -05:00
parent eb87ef6c96
commit 819aeca9bd
1 changed files with 5 additions and 1 deletions

View File

@ -121,13 +121,17 @@ export default function ProcessModelEditDiagram() {
Object.assign(item, { label }); Object.assign(item, { label });
return item; return item;
}); });
console.log(
'Setting Process arrays with selection of length: ',
selectionArray.length
);
setProcesses(selectionArray); setProcesses(selectionArray);
}; };
HttpService.makeCallToBackend({ HttpService.makeCallToBackend({
path: `/processes`, path: `/processes`,
successCallback: processResults, successCallback: processResults,
}); });
}, [processModel]); }, []);
useEffect(() => { useEffect(() => {
const processResult = (result: ProcessModel) => { const processResult = (result: ProcessModel) => {