1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +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", type: "danger",
title: "providerSuspended", title: "providerSuspended",
content: "restoreProviderPortalAccessViaCustomerSupport", content: "restoreProviderPortalAccessViaCustomerSupport",
disableClose: true, disableClose: false,
acceptButtonText: "contactSupportShort", acceptButtonText: "contactSupportShort",
cancelButtonText: null, cancelButtonText: null,
acceptAction: expect.any(Function), acceptAction: expect.any(Function),

View File

@@ -90,7 +90,7 @@ export class ProviderWarningsService {
type: "danger", type: "danger",
title: this.i18nService.t("providerSuspended", provider.name), title: this.i18nService.t("providerSuspended", provider.name),
content: this.i18nService.t("restoreProviderPortalAccessViaCustomerSupport"), content: this.i18nService.t("restoreProviderPortalAccessViaCustomerSupport"),
disableClose: true, disableClose: false,
acceptButtonText: this.i18nService.t("contactSupportShort"), acceptButtonText: this.i18nService.t("contactSupportShort"),
cancelButtonText: null, cancelButtonText: null,
acceptAction: async () => { acceptAction: async () => {