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;