From 356cca8416016d418aa147269b1848520dcf3ab9 Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 26 Jan 2023 09:54:18 -0500 Subject: [PATCH] if we get a result back it will be a task with a model identifier --- spiffworkflow-frontend/src/routes/TaskShow.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/TaskShow.tsx b/spiffworkflow-frontend/src/routes/TaskShow.tsx index f7506c44..57d60bdd 100644 --- a/spiffworkflow-frontend/src/routes/TaskShow.tsx +++ b/spiffworkflow-frontend/src/routes/TaskShow.tsx @@ -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}`,