1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 02:23:25 +00:00

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

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

* fix(billing): missed state service invocation changes

(cherry picked from commit b964cfc8e4)
This commit is contained in:
Alex Morask
2026-02-25 09:23:56 -06:00
committed by GitHub
parent 270f45ae72
commit 35229eb021
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,