mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
Show toast when copying SCIM api key and URL (#11608)
This commit is contained in:
parent
2fb6a9e1ee
commit
237887a368
@ -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 () => {
|
||||
|
Loading…
Reference in New Issue
Block a user