From e72f73832180f1def750b8952b3a53937cf7ff41 Mon Sep 17 00:00:00 2001 From: Jem <0x0xJem@gmail.com> Date: Mon, 26 Aug 2024 20:46:34 +0400 Subject: [PATCH] Revert heavy-handed filtering --- .../TreasuryDashboard/components/Graph/TreasuryAssetsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/TreasuryDashboard/components/Graph/TreasuryAssetsTable.tsx b/src/views/TreasuryDashboard/components/Graph/TreasuryAssetsTable.tsx index 0939417690..6ddbefd5cd 100644 --- a/src/views/TreasuryDashboard/components/Graph/TreasuryAssetsTable.tsx +++ b/src/views/TreasuryDashboard/components/Graph/TreasuryAssetsTable.tsx @@ -51,7 +51,7 @@ export const TreasuryAssetsTable = ({ console.debug(`${chartName}: rebuilding by date token summary`); // Filter out dust - const nonDustRecords = tokenRecordResults.filter(value => parseFloat(value.valueExcludingOhm) > 1); + const nonDustRecords = tokenRecordResults.filter(value => parseFloat(value.value) > 1); // We do the filtering of isLiquid client-side. Doing it in the GraphQL query results in incorrect data being spliced into the TreasuryAssetsGraph. Very weird. const filteredRecords = isLiquidBackingActive