do not show 'previous' button in last step
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
4a96507cd1
commit
90cb114237
|
@ -204,7 +204,7 @@ const ReportModal = ({ onClose }: IReportModal) => {
|
||||||
title={<FormattedMessage id='report.target' defaultMessage='Reporting {target}' values={{ target: <strong>@{account.acct}</strong> }} />}
|
title={<FormattedMessage id='report.target' defaultMessage='Reporting {target}' values={{ target: <strong>@{account.acct}</strong> }} />}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
cancelText={cancelText}
|
cancelText={cancelText}
|
||||||
cancelAction={cancelAction}
|
cancelAction={currentStep === Steps.THREE ? undefined : cancelAction}
|
||||||
confirmationAction={handleNextStep}
|
confirmationAction={handleNextStep}
|
||||||
confirmationText={confirmationText}
|
confirmationText={confirmationText}
|
||||||
confirmationDisabled={isConfirmationButtonDisabled}
|
confirmationDisabled={isConfirmationButtonDisabled}
|
||||||
|
|
Loading…
Reference in New Issue