if we get a result back it will be a task with a model identifier
This commit is contained in:
parent
29034082cb
commit
10f71f8dba
|
@ -42,10 +42,6 @@ export default function TaskShow() {
|
|||
useEffect(() => {
|
||||
if (permissionsLoaded) {
|
||||
const processResult = (result: ProcessInstanceTask) => {
|
||||
// Assure we get a valid process model identifier back
|
||||
if (!result.process_model_identifier) {
|
||||
return null;
|
||||
}
|
||||
setTask(result);
|
||||
const url = `/task-data/${modifyProcessIdentifierForPathParam(
|
||||
result.process_model_identifier
|
||||
|
@ -59,7 +55,6 @@ export default function TaskShow() {
|
|||
},
|
||||
});
|
||||
}
|
||||
return null;
|
||||
};
|
||||
HttpService.makeCallToBackend({
|
||||
path: `/tasks/${params.process_instance_id}/${params.task_id}`,
|
||||
|
|
Loading…
Reference in New Issue