mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Remove pm-18794-provider-payment-method (#14865)
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
<p bitTypography="body1">{{ "creditAppliedDesc" | i18n }}</p>
|
<p bitTypography="body1">{{ "creditAppliedDesc" | i18n }}</p>
|
||||||
</bit-section>
|
</bit-section>
|
||||||
<!-- Payment Method -->
|
<!-- Payment Method -->
|
||||||
<bit-section *ngIf="allowProviderPaymentMethod$ | async">
|
<bit-section>
|
||||||
<h2 bitTypography="h2">{{ "paymentMethod" | i18n }}</h2>
|
<h2 bitTypography="h2">{{ "paymentMethod" | i18n }}</h2>
|
||||||
<p *ngIf="!subscription.paymentSource" bitTypography="body1">
|
<p *ngIf="!subscription.paymentSource" bitTypography="body1">
|
||||||
{{ "noPaymentMethod" | i18n }}
|
{{ "noPaymentMethod" | i18n }}
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ import {
|
|||||||
ProviderPlanResponse,
|
ProviderPlanResponse,
|
||||||
ProviderSubscriptionResponse,
|
ProviderSubscriptionResponse,
|
||||||
} from "@bitwarden/common/billing/models/response/provider-subscription-response";
|
} from "@bitwarden/common/billing/models/response/provider-subscription-response";
|
||||||
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
|
|
||||||
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
|
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { DialogService, ToastService } from "@bitwarden/components";
|
import { DialogService, ToastService } from "@bitwarden/components";
|
||||||
import { BillingNotificationService } from "@bitwarden/web-vault/app/billing/services/billing-notification.service";
|
import { BillingNotificationService } from "@bitwarden/web-vault/app/billing/services/billing-notification.service";
|
||||||
@@ -39,10 +37,6 @@ export class ProviderSubscriptionComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
protected readonly TaxInformation = TaxInformation;
|
protected readonly TaxInformation = TaxInformation;
|
||||||
|
|
||||||
protected readonly allowProviderPaymentMethod$ = this.configService.getFeatureFlag$(
|
|
||||||
FeatureFlag.PM18794_ProviderPaymentMethod,
|
|
||||||
);
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private billingApiService: BillingApiServiceAbstraction,
|
private billingApiService: BillingApiServiceAbstraction,
|
||||||
private i18nService: I18nService,
|
private i18nService: I18nService,
|
||||||
@@ -50,7 +44,6 @@ export class ProviderSubscriptionComponent implements OnInit, OnDestroy {
|
|||||||
private billingNotificationService: BillingNotificationService,
|
private billingNotificationService: BillingNotificationService,
|
||||||
private dialogService: DialogService,
|
private dialogService: DialogService,
|
||||||
private toastService: ToastService,
|
private toastService: ToastService,
|
||||||
private configService: ConfigService,
|
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export enum FeatureFlag {
|
|||||||
/* Billing */
|
/* Billing */
|
||||||
TrialPaymentOptional = "PM-8163-trial-payment",
|
TrialPaymentOptional = "PM-8163-trial-payment",
|
||||||
PM12276_BreadcrumbEventLogs = "pm-12276-breadcrumbing-for-business-features",
|
PM12276_BreadcrumbEventLogs = "pm-12276-breadcrumbing-for-business-features",
|
||||||
PM18794_ProviderPaymentMethod = "pm-18794-provider-payment-method",
|
|
||||||
PM17772_AdminInitiatedSponsorships = "pm-17772-admin-initiated-sponsorships",
|
PM17772_AdminInitiatedSponsorships = "pm-17772-admin-initiated-sponsorships",
|
||||||
PM19956_RequireProviderPaymentMethodDuringSetup = "pm-19956-require-provider-payment-method-during-setup",
|
PM19956_RequireProviderPaymentMethodDuringSetup = "pm-19956-require-provider-payment-method-during-setup",
|
||||||
UseOrganizationWarningsService = "use-organization-warnings-service",
|
UseOrganizationWarningsService = "use-organization-warnings-service",
|
||||||
@@ -113,7 +112,6 @@ export const DefaultFeatureFlagValue = {
|
|||||||
/* Billing */
|
/* Billing */
|
||||||
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
||||||
[FeatureFlag.PM12276_BreadcrumbEventLogs]: FALSE,
|
[FeatureFlag.PM12276_BreadcrumbEventLogs]: FALSE,
|
||||||
[FeatureFlag.PM18794_ProviderPaymentMethod]: FALSE,
|
|
||||||
[FeatureFlag.PM17772_AdminInitiatedSponsorships]: FALSE,
|
[FeatureFlag.PM17772_AdminInitiatedSponsorships]: FALSE,
|
||||||
[FeatureFlag.PM19956_RequireProviderPaymentMethodDuringSetup]: FALSE,
|
[FeatureFlag.PM19956_RequireProviderPaymentMethodDuringSetup]: FALSE,
|
||||||
[FeatureFlag.UseOrganizationWarningsService]: FALSE,
|
[FeatureFlag.UseOrganizationWarningsService]: FALSE,
|
||||||
|
|||||||
Reference in New Issue
Block a user