From 097bf7c08c2c66bc83122007f817f1e2e7aa7a8f Mon Sep 17 00:00:00 2001 From: Maciek Date: Wed, 18 Oct 2023 17:02:34 +0200 Subject: [PATCH] chore(trading): add button for copying asset id (#5075) --- libs/assets/src/lib/asset-details-table.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libs/assets/src/lib/asset-details-table.tsx b/libs/assets/src/lib/asset-details-table.tsx index f6ef156a9..8758c384d 100644 --- a/libs/assets/src/lib/asset-details-table.tsx +++ b/libs/assets/src/lib/asset-details-table.tsx @@ -57,7 +57,16 @@ export const rows: Rows = [ key: AssetDetail.ID, label: t('ID'), tooltip: '', - value: (asset) => truncateMiddle(asset.id), + value: (asset) => ( + <> + {truncateMiddle(asset.id)}{' '} + + + + + ), }, { key: AssetDetail.TYPE,