Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-13729] Show toast when copying SCIM api key and URL #11608

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@

copyScimUrl = async () => {
this.platformUtilsService.copyToClipboard(await this.getScimEndpointUrl());
this.toastService.showToast({

Check warning on line 85 in bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts#L85

Added line #L85 was not covered by tests
message: this.i18nService.t("valueCopied", this.i18nService.t("scimUrl")),
variant: "success",
title: null,
});
};

rotateScimKey = async () => {
Expand Down Expand Up @@ -114,6 +119,11 @@

copyScimKey = async () => {
this.platformUtilsService.copyToClipboard(this.formData.get("clientSecret").value);
this.toastService.showToast({

Check warning on line 122 in bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/admin-console/organizations/manage/scim.component.ts#L122

Added line #L122 was not covered by tests
message: this.i18nService.t("valueCopied", this.i18nService.t("scimApiKey")),
variant: "success",
title: null,
});
};

submit = async () => {
Expand Down