kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'report-modal-previous' into 'develop'
do not show 'previous' button in last step See merge request soapbox-pub/soapbox!1964environments/review-develop-3zknud/deployments/1603
commit
c87826c419
|
@ -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}
|
||||||
|
|
Ładowanie…
Reference in New Issue