From 8aa9c304c7a1de748607c5105fcd52d82be5ddc2 Mon Sep 17 00:00:00 2001 From: Benjamin Piouffle Date: Fri, 15 Nov 2024 11:17:29 +0100 Subject: [PATCH] fix(PayPal): add 'disable payouts' option if not connected (#10800) --- components/edit-collective/sections/SendingMoney.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/edit-collective/sections/SendingMoney.js b/components/edit-collective/sections/SendingMoney.js index 3c98cc1f9fa..6a954a9160f 100644 --- a/components/edit-collective/sections/SendingMoney.js +++ b/components/edit-collective/sections/SendingMoney.js @@ -65,7 +65,7 @@ class SendingMoney extends React.Component { connectedAccounts={this.props.collective.connectedAccounts} services={services} /> - {services.includes('paypal') && ( + {services.includes('paypal') && this.props.collective.connectedAccounts?.find(c => c.service === 'paypal') && (