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:
@@ -175,7 +175,7 @@ describe("ProviderWarningsService", () => {
|
||||
type: "danger",
|
||||
title: "providerSuspended",
|
||||
content: "restoreProviderPortalAccessViaCustomerSupport",
|
||||
disableClose: true,
|
||||
disableClose: false,
|
||||
acceptButtonText: "contactSupportShort",
|
||||
cancelButtonText: null,
|
||||
acceptAction: expect.any(Function),
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user