1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM 24352] Make provider subscription canceled message dismissible in provider portal (#15972)

* Make the modal dismissiable

* Fix the failing unit test
This commit is contained in:
cyprain-okeke
2025-08-14 12:33:03 +01:00
committed by GitHub
parent 8c8350a4a1
commit 689f40c35c
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ describe("ProviderWarningsService", () => {
type: "danger",
title: "providerSuspended",
content: "restoreProviderPortalAccessViaCustomerSupport",
disableClose: true,
disableClose: false,
acceptButtonText: "contactSupportShort",
cancelButtonText: null,
acceptAction: expect.any(Function),

View File

@@ -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 () => {