Fixed payments settings

This commit is contained in:
Peter Zimon 2021-02-10 16:50:34 +01:00
parent 1ebff66109
commit 7b88038d05

View File

@ -88,7 +88,11 @@ export default Component.extend({
init() {
this._super(...arguments);
this.set('currencies', CURRENCIES);
this.set('membersStripeOpen', true);
if (this.get('stripeConnectAccountId')) {
this.set('membersStripeOpen', false);
} else {
this.set('membersStripeOpen', true);
}
},
actions: {