From 1cf0dc14b9236a39c1ec61e5e8567f3c3d25dd20 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 30 Jun 2020 18:27:13 +0200 Subject: [PATCH] Fixed stripe disconnect not working with new settings refs #10318 --- ghost/admin/app/components/gh-members-lab-setting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/components/gh-members-lab-setting.js b/ghost/admin/app/components/gh-members-lab-setting.js index 31548e409d..3675398225 100644 --- a/ghost/admin/app/components/gh-members-lab-setting.js +++ b/ghost/admin/app/components/gh-members-lab-setting.js @@ -227,7 +227,7 @@ export default Component.extend({ openDisconnectStripeConnectModal: task(function* () { this.set('hasActiveStripeSubscriptions', false); - if (!this.get('stripeConnectIntegration')) { + if (!this.get('stripeConnectAccountId')) { return; } const url = this.get('ghostPaths.url').api('/members/hasActiveStripeSubscriptions');