mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Merge pull request #2879 from woocommerce/PCP-3978-OPM-default-to-null
New Settings UI: Set Optional Payment Methods default to null (3978)
This commit is contained in:
commit
ebc53b7bfa
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ const defaultPersistent = {
|
||||||
completed: false,
|
completed: false,
|
||||||
step: 0,
|
step: 0,
|
||||||
isCasualSeller: null, // null value will uncheck both options in the UI.
|
isCasualSeller: null, // null value will uncheck both options in the UI.
|
||||||
areOptionalPaymentMethodsEnabled: true,
|
areOptionalPaymentMethodsEnabled: null,
|
||||||
products: [],
|
products: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ class OnboardingProfile extends AbstractDataModel {
|
||||||
'completed' => false,
|
'completed' => false,
|
||||||
'step' => 0,
|
'step' => 0,
|
||||||
'is_casual_seller' => null,
|
'is_casual_seller' => null,
|
||||||
'are_optional_payment_methods_enabled' => true,
|
'are_optional_payment_methods_enabled' => null,
|
||||||
'products' => array(),
|
'products' => array(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue