mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Disable save PayPal and Venmo checkbox when not approved for reference transactions
This commit is contained in:
parent
63b3c8a113
commit
f302025ca8
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ const SavePaymentMethods = () => {
|
||||||
) }
|
) }
|
||||||
value={ savePaypalAndVenmo }
|
value={ savePaypalAndVenmo }
|
||||||
onChange={ setSavePaypalAndVenmo }
|
onChange={ setSavePaypalAndVenmo }
|
||||||
|
disabled={ ! savePaypalAndVenmo }
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ControlToggleButton
|
<ControlToggleButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue