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:
@@ -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),
|
||||||
|
|||||||
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user