From 4a5682a21904abe6bcb6be39b03b0f65bc997d9c Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Fri, 6 Jun 2025 21:27:06 +0530 Subject: [PATCH] fix: build error (#3351) --- web/ee/store/subscription/self-hosted-subscription.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ee/store/subscription/self-hosted-subscription.store.ts b/web/ee/store/subscription/self-hosted-subscription.store.ts index 6410f525fe..412b465afe 100644 --- a/web/ee/store/subscription/self-hosted-subscription.store.ts +++ b/web/ee/store/subscription/self-hosted-subscription.store.ts @@ -150,7 +150,7 @@ export class SelfHostedSubscriptionStore implements ISelfHostedSubscriptionStore // fetch workspace subscribed plan await this.rootStore.workspaceSubscription.fetchWorkspaceSubscribedPlan(workspaceSlug); // remove feature flags - this.rootStore.featureFlags.flags[workspaceSlug] = {}; + delete this.rootStore.featureFlags.flags[workspaceSlug]; } catch (error) { console.error("selfHostedSubscriptionService -> deactivateLicense -> error", error); throw error;