"Continue" rather than "Submit" when displaying manual tasks.
This commit is contained in:
parent
b571ba0d88
commit
453a782d58
|
@ -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