From 4cd49d1f2d643dde4dfbf9425a979ebab973723d Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 25 Nov 2022 12:28:08 -0500 Subject: [PATCH] "Continue" rather than "Submit" when displaying manual tasks. --- spiffworkflow-frontend/src/routes/TaskShow.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spiffworkflow-frontend/src/routes/TaskShow.tsx b/spiffworkflow-frontend/src/routes/TaskShow.tsx index 72121a7f6..768043cd8 100644 --- a/spiffworkflow-frontend/src/routes/TaskShow.tsx +++ b/spiffworkflow-frontend/src/routes/TaskShow.tsx @@ -15,6 +15,7 @@ import { Tabs, Grid, Column, + Button, // @ts-ignore } from '@carbon/react'; @@ -167,6 +168,14 @@ export default function TaskShow() { reactFragmentToHideSubmitButton =
; } + if (taskToUse.type === 'Manual Task') { + reactFragmentToHideSubmitButton = ( +
+ +
+ ); + } + return (