mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 19:15:31 +00:00
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…
x
Reference in New Issue
Block a user