Skip to content

Commit

Permalink
fix: allow account settings access during payment review (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJulio authored Feb 21, 2025
1 parent a958ef4 commit 4b3d95e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/router/hooks/guards/billingGuard.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export async function billingGuard({ to, accountStore }) {
return true
}
} else if (paymentReviewPending) {
if (to.name === 'account-settings') {
return true
}
return BILLING_REDIRECT_OPTIONS
}
}
Expand Down

0 comments on commit 4b3d95e

Please sign in to comment.