From 7c8fd806231a5457861d0d01f4866ebebab15dad Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Sun, 7 Apr 2024 13:28:00 +0530 Subject: [PATCH] fixed the count(*) at the bottom of explore screen --- src/pages/Logs/LogTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Logs/LogTable.tsx b/src/pages/Logs/LogTable.tsx index 39775a29..e97b7c32 100644 --- a/src/pages/Logs/LogTable.tsx +++ b/src/pages/Logs/LogTable.tsx @@ -400,7 +400,7 @@ const LogTable: FC = () => { ? PRIMARY_HEADER_HEIGHT + LOGS_PRIMARY_TOOLBAR_HEIGHT + LOGS_SECONDARY_TOOLBAR_HEIGHT : 0; - const totalCount = Array.isArray(fetchQueryMutation?.data) ? fetchQueryMutation.data[0]?.["COUNT(*)"] : null; + const totalCount = Array.isArray(fetchQueryMutation?.data) ? fetchQueryMutation.data[0]?.count : null; const loadedCount = pageLogData?.data.length || null; return (