mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
🐛 Fix the onboarding wizard bug
This commit is contained in:
parent
d29a6ea125
commit
2cb58cd15d
1 changed files with 3 additions and 2 deletions
|
@ -65,8 +65,9 @@ export const getSteps = ( flags ) => {
|
|||
( step ) => flags.canUseCasualSelling || step.id !== 'business',
|
||||
// Skip payment methods screen.
|
||||
( step ) =>
|
||||
! flags.shouldSkipPaymentMethods &&
|
||||
! ( ownBrandOnly && isCasualSeller && step.id === 'methods' ), // personal user in branded-only mode.
|
||||
step.id !== 'methods' ||
|
||||
( ! flags.shouldSkipPaymentMethods &&
|
||||
! ( ownBrandOnly && isCasualSeller ) ),
|
||||
] );
|
||||
|
||||
const totalStepsCount = steps.length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue