From b6be7a9d2c38fecdb02cbc3593b534a3760530fd Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Fri, 16 May 2025 10:07:15 -0500 Subject: [PATCH] adding logbook page totals --- app/src/components/logbook/columns.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/logbook/columns.tsx b/app/src/components/logbook/columns.tsx index 5700510..b1a5aa0 100644 --- a/app/src/components/logbook/columns.tsx +++ b/app/src/components/logbook/columns.tsx @@ -60,7 +60,7 @@ const durationOfFlight: ColumnDef = { headerAlign: 'right' }, cell: (info: CellContext) => - info.getValue() ? parseFloat(info.getValue()).toFixed(1) : '', + info.getValue() ? parseFloat(info.getValue() as string).toFixed(1) : '', footer: (info) => columnTotal(info) > 0 ? columnTotal(info).toFixed(1) : '' } const notes: ColumnDef = {