1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 01:53:23 +00:00

[PM-32612] Only show subscription menu option when premium user has subscription (#19209)

* fix(billing): only show Subscription menu option when premium user has subscription

* fix(billing): missed state service invocation changes
This commit is contained in:
Alex Morask
2026-02-25 08:25:24 -06:00
committed by GitHub
parent b27f820ffb
commit b964cfc8e4
8 changed files with 75 additions and 144 deletions

View File

@@ -1533,7 +1533,7 @@ const safeProviders: SafeProvider[] = [
safeProvider({
provide: BillingAccountProfileStateService,
useClass: DefaultBillingAccountProfileStateService,
deps: [StateProvider, PlatformUtilsServiceAbstraction, ApiServiceAbstraction],
deps: [StateProvider],
}),
safeProvider({
provide: SubscriptionPricingServiceAbstraction,