Skip to content

Commit

Permalink
Merge pull request Infisical#2982 from Infisical/fix-copy-user-id
Browse files Browse the repository at this point in the history
Fix: Copy Username on User Details Page
  • Loading branch information
maidul98 authored Jan 14, 2025
2 parents 2a86e6f + 4bf16f6 commit 957cab3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const UserDetailsSection = ({ membershipId, handlePopUpOpen }: Props) =>
variant="plain"
className="group relative ml-2"
onClick={() => {
navigator.clipboard.writeText("");
navigator.clipboard.writeText(membership.user.username);
setCopyTextUsername("Copied");
}}
>
Expand Down

0 comments on commit 957cab3

Please sign in to comment.