more debugging and do not watch ProcessModel with getting processes w/ burnettk
This commit is contained in:
parent
eb87ef6c96
commit
819aeca9bd
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue