From b9a9b983e9fee055881cfdcf04cff6be631da772 Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Fri, 11 Oct 2024 13:33:28 -0500 Subject: [PATCH] admin care --- .../src/app/pages/subscription/account/account.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bizmatch/src/app/pages/subscription/account/account.component.ts b/bizmatch/src/app/pages/subscription/account/account.component.ts index 3e88b06..0654b10 100644 --- a/bizmatch/src/app/pages/subscription/account/account.component.ts +++ b/bizmatch/src/app/pages/subscription/account/account.component.ts @@ -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']);