diff --git a/components/RequestTable.tsx b/components/RequestTable.tsx index 078405c..e898cfd 100644 --- a/components/RequestTable.tsx +++ b/components/RequestTable.tsx @@ -400,8 +400,11 @@ const columns: ColumnDef[] = [ accessorKey: "cost", header: "Cost", cell: ({ row }) => { - const value = row.getValue("cost") as number; - return
{currencyFormat(value, "USD", 4)}
; + const value = row.getValue('cost') as number; + const isRequestCached = row.getValue('cached') as boolean; + const costValue = isRequestCached ? 0 : value; + + return
{currencyFormat(costValue, 'USD', 4)}
; }, }, {