"Continue" rather than "Submit" when displaying manual tasks.
This commit is contained in:
parent
d0605d498a
commit
4cd49d1f2d
|
@ -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}>
|
||||
|
|
Loading…
Reference in New Issue