Skip to content

Commit

Permalink
Merge pull request #22552 from Skalakid/21837-fix-back-icon
Browse files Browse the repository at this point in the history
21837 - Back icon on last stage of adding bank account page is not clickable in offline mode
  • Loading branch information
MariaHCD authored Jul 12, 2023
2 parents d6b2d07 + 174bcac commit 8923cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/ReimbursementAccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class ReimbursementAccountPage extends React.Component {
case CONST.BANK_ACCOUNT.STEP.VALIDATION:
if (_.contains([BankAccount.STATE.VERIFYING, BankAccount.STATE.SETUP], achData.state)) {
BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT);
} else if (achData.state === BankAccount.STATE.PENDING) {
} else if (!this.props.network.isOffline && achData.state === BankAccount.STATE.PENDING) {
this.setState({
shouldShowContinueSetupButton: true,
});
Expand Down

0 comments on commit 8923cb0

Please sign in to comment.