From 899f92f3428b87c83de7ab5b383b718a24be3270 Mon Sep 17 00:00:00 2001 From: noahspannbauer Date: Sun, 26 Apr 2026 15:08:34 -0700 Subject: [PATCH] 126 all logs shown when unauthenticated (#131) * fixing all logs showing when user is unauthenticated * updating api log interceptor * updating api log interceptor * updating api log interceptor * logbook page unauthenticated alert --- client/src/components/logbook/Logbook.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/logbook/Logbook.tsx b/client/src/components/logbook/Logbook.tsx index 639ced8..2e6606c 100644 --- a/client/src/components/logbook/Logbook.tsx +++ b/client/src/components/logbook/Logbook.tsx @@ -413,7 +413,7 @@ const Logbook: React.FC = () => { setColumnVisibility(columnVisibility) dispatch({ type: 'SET_ENTRIES', payload: { entries: entries, totalEntries: response.data.total }}); - if (!isUserLoggedIn && response.data.length >= 5) { + if (!isUserLoggedIn && response.data.entities.length >= 5) { dispatch({ type: 'SET_ALERT', payload: { severity: 'info', message: 'A limited number of log entries displayed. Sign in to view all log entries.'}}) } else { dispatch({ type: 'SET_ALERT', payload: undefined})