feat: add TestSubstep along with step status

This commit is contained in:
Ali BARIN
2022-02-09 22:48:29 +01:00
committed by Ömer Faruk Aydın
parent 50ef6be69c
commit 020ef45f0a
13 changed files with 165 additions and 16 deletions

View File

@@ -78,13 +78,11 @@ function FlowSubstep(props: FlowSubstepProps): React.ReactElement {
/>
<Collapse in={expanded} timeout="auto" unmountOnExit>
<ListItem sx={{ pt: 2, pb: 3, flexDirection: 'column', alignItems: 'flex-start' }}>
{substep.name !== 'Choose account' && (
<React.Fragment>
{args?.map((argument) => (
<InputCreator key={argument?.key} schema={argument} onBlur={handleChangeOnBlur} />
))}
</React.Fragment>
)}
<React.Fragment>
{args?.map((argument) => (
<InputCreator key={argument?.key} schema={argument} onBlur={handleChangeOnBlur} />
))}
</React.Fragment>
<Button
fullWidth