mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: correctly copy user email to clipboard
This commit is contained in:
@@ -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");
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user