The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
used lodash truthy checks
TzeYiinga1409c7b9cde
diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsxindex 5db96080e8d..824627828c8 100644--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx@@ -5,6 +5,7 @@ import DataGrid from '@supabase/react-data-grid'import LogSelection from './LogSelection'import { LogData } from './Logs.types'+import { isNil } from 'lodash'interface Props {isCustomQuery: boolean@@ -52,7 +53,7 @@ const LogTable = ({ isCustomQuery, data }: Props) => {const strLogMap = JSON.stringify(logMap)useEffect(() => {- if (data === null || data === undefined) return+ if (isNil(data)) returnif (focusedLog && !(focusedLog.id in logMap)) {setFocusedLog(null)}