From 689f40c35c4789765f34a806053138355d604907 Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Thu, 14 Aug 2025 12:33:03 +0100 Subject: [PATCH] [PM 24352] Make provider subscription canceled message dismissible in provider portal (#15972) * Make the modal dismissiable * Fix the failing unit test --- .../providers/services/provider-warnings.service.spec.ts | 2 +- .../app/billing/providers/services/provider-warnings.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.spec.ts b/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.spec.ts index 752df86ed7e..b2b92c26e1f 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.spec.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.spec.ts @@ -175,7 +175,7 @@ describe("ProviderWarningsService", () => { type: "danger", title: "providerSuspended", content: "restoreProviderPortalAccessViaCustomerSupport", - disableClose: true, + disableClose: false, acceptButtonText: "contactSupportShort", cancelButtonText: null, acceptAction: expect.any(Function), diff --git a/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.ts b/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.ts index d888cc6b8d9..87e6d9351ab 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/services/provider-warnings.service.ts @@ -90,7 +90,7 @@ export class ProviderWarningsService { type: "danger", title: this.i18nService.t("providerSuspended", provider.name), content: this.i18nService.t("restoreProviderPortalAccessViaCustomerSupport"), - disableClose: true, + disableClose: false, acceptButtonText: this.i18nService.t("contactSupportShort"), cancelButtonText: null, acceptAction: async () => {