Squashed 'spiffworkflow-frontend/' changes from 8afeb64f1..c6a47df1b
c6a47df1b added script to get the process info and do not set error message when a task fails from the frontend w/ burnettk git-subtree-dir: spiffworkflow-frontend git-subtree-split: c6a47df1b74a762d3bc4e2e5d4451c4726271394
This commit is contained in:
parent
fb0ad7bfc5
commit
bd0acfff17
|
@ -20,13 +20,14 @@ export default function TaskShow() {
|
|||
HttpService.makeCallToBackend({
|
||||
path: `/tasks/${params.process_instance_id}/${params.task_id}`,
|
||||
successCallback: setTask,
|
||||
failureCallback: setErrorMessage,
|
||||
// This causes the page to continuously reload
|
||||
// failureCallback: setErrorMessage,
|
||||
});
|
||||
HttpService.makeCallToBackend({
|
||||
path: `/process-instance/${params.process_instance_id}/tasks`,
|
||||
successCallback: setUserTasks,
|
||||
});
|
||||
}, [params, setErrorMessage]);
|
||||
}, [params]);
|
||||
|
||||
const processSubmitResult = (result: any) => {
|
||||
setErrorMessage(null);
|
||||
|
|
Loading…
Reference in New Issue