0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed stripe disconnect not working with new settings

refs #10318
This commit is contained in:
Fabien O'Carroll 2020-06-30 18:27:13 +02:00
parent 0a2530c1cc
commit 1cf0dc14b9

View file

@ -227,7 +227,7 @@ export default Component.extend({
openDisconnectStripeConnectModal: task(function* () { openDisconnectStripeConnectModal: task(function* () {
this.set('hasActiveStripeSubscriptions', false); this.set('hasActiveStripeSubscriptions', false);
if (!this.get('stripeConnectIntegration')) { if (!this.get('stripeConnectAccountId')) {
return; return;
} }
const url = this.get('ghostPaths.url').api('/members/hasActiveStripeSubscriptions'); const url = this.get('ghostPaths.url').api('/members/hasActiveStripeSubscriptions');