This commit is contained in:
burnettk 2025-02-11 11:10:47 -05:00
parent cf987b2102
commit ce5abaf100
No known key found for this signature in database

View File

@ -325,18 +325,12 @@ export default function ProcessModelForm({
<Typography variant="h3">Notification Addresses</Typography>, <Typography variant="h3">Notification Addresses</Typography>,
); );
textInputs.push( textInputs.push(
<Grid container spacing={2}>
<Grid size={{ md: 8, lg: 16, sm: 4 }}>
<Typography variant="body2"> <Typography variant="body2">
You can provide one or more addresses to notify if this model fails. You can provide one or more addresses to notify if this model fails.
</Typography> </Typography>,
</Grid>
</Grid>,
); );
textInputs.push(<>{notificationAddressFormArea()}</>); textInputs.push(<>{notificationAddressFormArea()}</>);
textInputs.push( textInputs.push(
<Grid container spacing={2}>
<Grid size={{ md: 4, lg: 8, sm: 2 }}>
<Button <Button
data-qa="add-notification-address-button" data-qa="add-notification-address-button"
startIcon={<AddAlt />} startIcon={<AddAlt />}
@ -347,27 +341,18 @@ export default function ProcessModelForm({
}} }}
> >
Add Notification Address Add Notification Address
</Button> </Button>,
</Grid>
</Grid>,
); );
textInputs.push(<Typography variant="h3">Metadata Extractions</Typography>); textInputs.push(<Typography variant="h3">Metadata Extractions</Typography>);
textInputs.push( textInputs.push(
<Grid container spacing={2}>
<Grid size={{ md: 8, lg: 16, sm: 4 }}>
<Typography variant="body2"> <Typography variant="body2">
You can provide one or more metadata extractions to pull data from You can provide one or more metadata extractions to pull data from your
your process instances to provide quick access in searches and process instances to provide quick access in searches and perspectives.
perspectives. </Typography>,
</Typography>
</Grid>
</Grid>,
); );
textInputs.push(<>{metadataExtractionPathFormArea()}</>); textInputs.push(<>{metadataExtractionPathFormArea()}</>);
textInputs.push( textInputs.push(
<Grid container spacing={2}>
<Grid size={{ md: 4, lg: 8, sm: 2 }}>
<Button <Button
data-qa="add-metadata-extraction-path-button" data-qa="add-metadata-extraction-path-button"
startIcon={<AddAlt />} startIcon={<AddAlt />}
@ -378,9 +363,7 @@ export default function ProcessModelForm({
}} }}
> >
Add Metadata Extraction Path Add Metadata Extraction Path
</Button> </Button>,
</Grid>
</Grid>,
); );
return textInputs; return textInputs;