if we get a result back it will be a task with a model identifier

This commit is contained in:
jasquat 2023-01-26 09:54:18 -05:00
parent 29034082cb
commit 10f71f8dba
1 changed files with 0 additions and 5 deletions

View File

@ -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}`,