From a346fcff05338c10701666b5041d13cbe4ec6f57 Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Thu, 18 Dec 2025 18:09:59 +0800 Subject: [PATCH] fix(frontend): don't show number of logs when no logs available --- frontend/src/components/RequestLogs.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/RequestLogs.tsx b/frontend/src/components/RequestLogs.tsx index 4520a45..9cc59a6 100644 --- a/frontend/src/components/RequestLogs.tsx +++ b/frontend/src/components/RequestLogs.tsx @@ -78,10 +78,10 @@ const RequestLogs: Component = () => {

Request Logs - + - (Showing {totalLogs() === 0 ? 0 : (page() - 1) * PAGE_SIZE + 1}- - {Math.min(page() * PAGE_SIZE, totalLogs())} of {totalLogs()}) + (Showing {(page() - 1) * PAGE_SIZE + 1}-{Math.min(page() * PAGE_SIZE, totalLogs())} of{" "} + {totalLogs()})