mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +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,
|
||||
step: 0,
|
||||
isCasualSeller: null, // null value will uncheck both options in the UI.
|
||||
areOptionalPaymentMethodsEnabled: true,
|
||||
areOptionalPaymentMethodsEnabled: null,
|
||||
products: [],
|
||||
};
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ class OnboardingProfile extends AbstractDataModel {
|
|||
'completed' => false,
|
||||
'step' => 0,
|
||||
'is_casual_seller' => null,
|
||||
'are_optional_payment_methods_enabled' => true,
|
||||
'are_optional_payment_methods_enabled' => null,
|
||||
'products' => array(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue