Skip to content

Commit

Permalink
fix(app): Add 'go back' on ODD during Error Recovery drop tips (#16007)
Browse files Browse the repository at this point in the history
Closes DQA RQA-2986
  • Loading branch information
mjhuff authored Aug 15, 2024
1 parent b2b5eb9 commit b8d74b9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion app/src/organisms/DropTipWizardFlows/BeforeBeginning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,23 @@ export const BeforeBeginning = ({
height="5.25rem"
/>
</Flex>
<Flex justifyContent={JUSTIFY_FLEX_END} marginTop="auto">
<Flex
flexDirection={DIRECTION_ROW}
justifyContent={
issuedCommandsType === 'fixit'
? JUSTIFY_SPACE_BETWEEN
: JUSTIFY_FLEX_END
}
marginTop={issuedCommandsType === 'fixit' ? '6.875rem' : undefined}
>
{fixitCommandTypeUtils != null ? (
<TextOnlyButton
onClick={
fixitCommandTypeUtils.buttonOverrides.goBackBeforeBeginning
}
buttonText={t('shared:go_back')}
/>
) : null}
<SmallButton
buttonText={i18n.format(t('shared:continue'), 'capitalize')}
onClick={handleProceed}
Expand Down

0 comments on commit b8d74b9

Please sign in to comment.