diff --git a/app/commit.json b/app/commit.json index 5ec8f67b..e5159118 100644 --- a/app/commit.json +++ b/app/commit.json @@ -1 +1 @@ -{ "commit": "e5ecb0b7d5e0fb53f13654689cebd8eb99b10578" } +{ "commit": "4ba5d37fcd16414a06dbeba56c7732173e734c63" } diff --git a/app/components/settings/event-logs/EventLogsTab.tsx b/app/components/settings/event-logs/EventLogsTab.tsx index 55c3d660..d7b9f9f4 100644 --- a/app/components/settings/event-logs/EventLogsTab.tsx +++ b/app/components/settings/event-logs/EventLogsTab.tsx @@ -4,6 +4,7 @@ import { toast } from 'react-toastify'; import { Switch } from '~/components/ui/Switch'; import { logStore, type LogEntry } from '~/lib/stores/logs'; import { useStore } from '@nanostores/react'; +import { classNames } from '~/utils/classNames'; export default function EventLogsTab() { const {} = useSettings(); @@ -19,8 +20,8 @@ export default function EventLogsTab() { const matchesLevel = !logLevel || log.level === logLevel; const matchesSearch = !searchQuery || - log.message.toLowerCase().includes(searchQuery.toLowerCase()) || - JSON.stringify(log.details).toLowerCase().includes(searchQuery.toLowerCase()); + log.message?.toLowerCase().includes(searchQuery.toLowerCase()) || + JSON.stringify(log.details)?.toLowerCase()?.includes(searchQuery?.toLowerCase()); return matchesLevel && matchesSearch; }); @@ -118,7 +119,7 @@ export default function EventLogsTab() { }; return ( -
+
{/* Title and Toggles Row */}
@@ -140,7 +141,7 @@ export default function EventLogsTab() {