admin care
This commit is contained in:
parent
1282d30b49
commit
b9a9b983e9
|
|
@ -132,6 +132,9 @@ export class AccountComponent {
|
|||
}
|
||||
async synchronizeSubscriptions(subscriptions: StripeSubscription[]) {
|
||||
let changed = false;
|
||||
if (this.isAdmin()) {
|
||||
return;
|
||||
}
|
||||
if (this.subscriptions.length === 0) {
|
||||
if (!this.user.subscriptionPlan) {
|
||||
this.router.navigate(['pricing']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue