"Continue" rather than "Submit" when displaying manual tasks.
This commit is contained in:
parent
b571ba0d88
commit
453a782d58
|
@ -15,6 +15,7 @@ import {
|
||||||
Tabs,
|
Tabs,
|
||||||
Grid,
|
Grid,
|
||||||
Column,
|
Column,
|
||||||
|
Button,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
} from '@carbon/react';
|
} from '@carbon/react';
|
||||||
|
|
||||||
|
@ -167,6 +168,14 @@ export default function TaskShow() {
|
||||||
reactFragmentToHideSubmitButton = <div />;
|
reactFragmentToHideSubmitButton = <div />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (taskToUse.type === 'Manual Task') {
|
||||||
|
reactFragmentToHideSubmitButton = (
|
||||||
|
<div>
|
||||||
|
<Button type="submit">Continue</Button>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid fullWidth condensed>
|
<Grid fullWidth condensed>
|
||||||
<Column md={5} lg={8} sm={4}>
|
<Column md={5} lg={8} sm={4}>
|
||||||
|
|
Loading…
Reference in New Issue