From d99054b3a640eb69e27062c67ea8651244c47284 Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 8 Sep 2023 11:07:25 -0400 Subject: [PATCH] make sure we show the go button on the pi show page for tasks that the user can complete w/ burnettk --- spiffworkflow-frontend/src/components/TaskListTable.tsx | 7 +++++-- spiffworkflow-frontend/src/interfaces.ts | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-frontend/src/components/TaskListTable.tsx b/spiffworkflow-frontend/src/components/TaskListTable.tsx index 55644536..f1ecc5a3 100644 --- a/spiffworkflow-frontend/src/components/TaskListTable.tsx +++ b/spiffworkflow-frontend/src/components/TaskListTable.tsx @@ -277,8 +277,11 @@ export default function TaskListTable({ if (showActionsColumn) { const actions = []; if ( - processInstanceTask.process_instance_status in - ['suspended', 'completed', 'error'] + !( + processInstanceTask.process_instance_status in + ['suspended', 'completed', 'error'] + ) && + !processInstanceTask.completed ) { actions.push(