From 8d71b295eabfaeafb576f58a63aa165fbd78505e Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Fri, 20 Sep 2024 17:24:46 +0800 Subject: [PATCH] misc: add copy group ID to clipboard --- .../components/OrgGroupsSection/OrgGroupsTable.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx b/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx index 0ed41ba6e..e7d53d1ca 100644 --- a/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx +++ b/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx @@ -135,6 +135,18 @@ export const OrgGroupsTable = ({ handlePopUpOpen }: Props) => { + { + e.stopPropagation(); + createNotification({ + text: "Copied group ID to clipboard", + type: "info" + }); + navigator.clipboard.writeText(id); + }} + > + Copy Group ID +