From 0b70c02283a86594ef33acd1117feb61ff2be441 Mon Sep 17 00:00:00 2001 From: onehanddev Date: Thu, 12 Dec 2024 16:10:38 +0530 Subject: [PATCH] fix: TBCCT-192 Fix cost columns title and value --- client/src/containers/nav/index.tsx | 4 ++-- .../src/containers/overview/table/view/overview/columns.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/containers/nav/index.tsx b/client/src/containers/nav/index.tsx index 4b60cb11..0d87477a 100644 --- a/client/src/containers/nav/index.tsx +++ b/client/src/containers/nav/index.tsx @@ -108,7 +108,7 @@ export default function MainNav() { - {navItems.footer.map((item) => ( + {/* {navItems.footer.map((item) => ( - ))} + ))} */} ) => [ filters.costRangeSelector === "npv" ? "costPerTCO2eNPV" : "costPerTCO2e", { enableSorting: true, - header: () => Cost $/tCo2, + header: () => Cost $(USD)/tCo2, cell: (props) => { const value = props.getValue(); if (value === null || value === undefined) { return "-"; } - return formatNumber(value); + return formatCurrency(value); }, }, ),