"Continue" rather than "Submit" when displaying manual tasks.

This commit is contained in:
Dan 2022-11-25 12:28:08 -05:00
parent b571ba0d88
commit 453a782d58
1 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import {
Tabs,
Grid,
Column,
Button,
// @ts-ignore
} from '@carbon/react';
@ -167,6 +168,14 @@ export default function TaskShow() {
reactFragmentToHideSubmitButton = <div />;
}
if (taskToUse.type === 'Manual Task') {
reactFragmentToHideSubmitButton = (
<div>
<Button type="submit">Continue</Button>
</div>
);
}
return (
<Grid fullWidth condensed>
<Column md={5} lg={8} sm={4}>