From ff0f4cf46a010f061e38f086e391aa25341042f1 Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Wed, 11 Jun 2025 20:49:10 +0800 Subject: [PATCH] misc: added support for copying gateway ID --- .../Gateways/GatewayListPage/GatewayListPage.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/pages/organization/Gateways/GatewayListPage/GatewayListPage.tsx b/frontend/src/pages/organization/Gateways/GatewayListPage/GatewayListPage.tsx index 703dca3a7..1552f8548 100644 --- a/frontend/src/pages/organization/Gateways/GatewayListPage/GatewayListPage.tsx +++ b/frontend/src/pages/organization/Gateways/GatewayListPage/GatewayListPage.tsx @@ -3,6 +3,7 @@ import { Helmet } from "react-helmet"; import { faArrowUpRightFromSquare, faBookOpen, + faCopy, faEdit, faEllipsisV, faInfoCircle, @@ -169,6 +170,12 @@ export const GatewayListPage = withPermission( + } + onClick={() => navigator.clipboard.writeText(el.id)} + > + Copy ID +