From 7e17f7fc4216c9335c8590ca9f672c49170a801f Mon Sep 17 00:00:00 2001 From: S2kael Date: Wed, 6 Nov 2024 19:54:25 +0700 Subject: [PATCH] [Issue-3801] Fix display order history --- .../src/Popup/Home/History/Detail/parts/Amount.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/extension-web-ui/src/Popup/Home/History/Detail/parts/Amount.tsx b/packages/extension-web-ui/src/Popup/Home/History/Detail/parts/Amount.tsx index 287f59aabd..488aab105d 100644 --- a/packages/extension-web-ui/src/Popup/Home/History/Detail/parts/Amount.tsx +++ b/packages/extension-web-ui/src/Popup/Home/History/Detail/parts/Amount.tsx @@ -31,7 +31,7 @@ const Component: React.FC = (props: Props) => { const isNft = data.type === ExtrinsicType.SEND_NFT; const isMint = isTypeMint(data.type); const isLeavePool = isPoolLeave(data.type); - const hasOrderId = data.type === ExtrinsicType.TRANSFER_TOKEN; + const hasOrderId = !!(data.additionalInfo as TransactionAdditionalInfo[ExtrinsicType.TRANSFER_BALANCE])?.orderId; // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const additionalInfo = data.additionalInfo;