From 4d5b7cf5e7ef9511973115c9f0489e7491f49f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20G=C5=82ownia?= Date: Fri, 21 Apr 2023 16:08:41 +0200 Subject: [PATCH] fix(trading): amend market list settlement asset column getter (#3487) --- .../markets-container/market-list-table.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libs/market-list/src/lib/components/markets-container/market-list-table.tsx b/libs/market-list/src/lib/components/markets-container/market-list-table.tsx index 4dda860a5..b3002d283 100644 --- a/libs/market-list/src/lib/components/markets-container/market-list-table.tsx +++ b/libs/market-list/src/lib/components/markets-container/market-list-table.tsx @@ -176,14 +176,16 @@ export const MarketListTable = forwardRef< /> ) => - value ? ( + 'tradableInstrument.instrument.product.settlementAsset.symbol' + >) => { + const value = + data?.tradableInstrument.instrument.product.settlementAsset; + return value ? ( { openAssetDetailsDialog(value.id, e.target as HTMLElement); @@ -193,8 +195,8 @@ export const MarketListTable = forwardRef< ) : ( '' - ) - } + ); + }} />