Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Merge branch 'master' into feat/logs-custom-sql-querying

TzeYiinge741fa3d169a
diff --cc studio/components/interfaces/Settings/Logs/LogTable.tsx
index 336c50291c5,15d0afeb972..43cb2c24dcf
--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx
@@@ -78,9 -65,9 +78,9 @@@ const LogTable = ({ isCustomQuery, dat
const maxHeight = isCustomQuery ? 'calc(100vh - 42px - 10rem)' : 'calc(100vh - 42px - 3rem)'
const logDataRows = useMemo(() => {
- // sort in timestamp descending order
+ if (!isChrono) return data
- return Object.values(logMap).sort((a, b) => a.timestamp - b.timestamp)
+ return Object.values(logMap).sort((a, b) => b.timestamp - a.timestamp)
- }, [strLogMap])
+ }, [strData])
return (
<section className="flex flex-1 flex-row" style={{ maxHeight }}>
<DataGrid