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