From f302025ca8f42ef1b3faa97778f67c765cc6f8e8 Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Wed, 26 Feb 2025 17:28:36 +0100 Subject: [PATCH] Disable save PayPal and Venmo checkbox when not approved for reference transactions --- .../Settings/Components/Settings/Blocks/SavePaymentMethods.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Settings/Blocks/SavePaymentMethods.js b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Settings/Blocks/SavePaymentMethods.js index 9b77076e2..0a744cc4d 100644 --- a/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Settings/Blocks/SavePaymentMethods.js +++ b/modules/ppcp-settings/resources/js/Components/Screens/Settings/Components/Settings/Blocks/SavePaymentMethods.js @@ -40,6 +40,7 @@ const SavePaymentMethods = () => { ) } value={ savePaypalAndVenmo } onChange={ setSavePaypalAndVenmo } + disabled={ ! savePaypalAndVenmo } />