Skip to content

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

fix: audit logs project filtering hide all projects logs (#44620)

Gildas Garcia4adf55113729
diff --git a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
index 6ea8cd96460..ffba6f76d7e 100644
--- a/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
+++ b/apps/studio/components/interfaces/Organization/AuditLogs/AuditLogs.tsx
@@ -135,7 +135,7 @@ export const AuditLogs = () => {
})
?.filter((log) => {
if (filters.projects.length > 0) {
- return filters.projects.includes(log.target.metadata.project_ref || '')
+ return filters.projects.includes(log.target.metadata.ref || '')
} else {
return log
}