126 all logs shown when unauthenticated #129

Merged
noahspannbauer merged 5 commits from 126-all-logs-shown-when-unauthenticated into main 2026-04-18 14:09:51 -04:00
2 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ export class LogInterceptor implements NestInterceptor {
return {
entities: logs,
total: data.total,
total: logs.length,
hasNextPage: false
};
} else {

View File

@@ -528,8 +528,8 @@ const Logbook: React.FC<unknown> = () => {
}, [state.totalEntries, state.pagination?.pageSize])
useEffect(() => {
console.log(state.pagination)
}, [state.pagination])
console.log(state)
}, [state])
return (
<>
@@ -554,7 +554,7 @@ const Logbook: React.FC<unknown> = () => {
onClose={() =>
dispatch({ type: 'SET_ALERT', payload: undefined })
}
severity={'info'}
severity={state.alert.severity}
>
{state.alert.message}
</Alert>