admin care
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user