From 9fb00fbe51d983d386415b28e8e007843b2b0016 Mon Sep 17 00:00:00 2001 From: Brandon Date: Thu, 17 Oct 2024 14:36:54 -0400 Subject: [PATCH] Show toast when copying SCIM api key and URL --- .../organizations/manage/scim.component.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts b/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts index 76e3caa145ff..c900cfe28a6e 100644 --- a/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts +++ b/bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts @@ -82,6 +82,11 @@ export class ScimComponent implements OnInit { copyScimUrl = async () => { this.platformUtilsService.copyToClipboard(await this.getScimEndpointUrl()); + this.toastService.showToast({ + message: this.i18nService.t("valueCopied", this.i18nService.t("scimUrl")), + variant: "success", + title: null, + }); }; rotateScimKey = async () => { @@ -114,6 +119,11 @@ export class ScimComponent implements OnInit { copyScimKey = async () => { this.platformUtilsService.copyToClipboard(this.formData.get("clientSecret").value); + this.toastService.showToast({ + message: this.i18nService.t("valueCopied", this.i18nService.t("scimApiKey")), + variant: "success", + title: null, + }); }; submit = async () => {