Skip to content

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

REmove logsPostgrest and logsPgBouncer flags

Joshen Lim4beae893e3fd
diff --git a/studio/components/layouts/LogsLayout/LogsMenu.utils.ts b/studio/components/layouts/LogsLayout/LogsMenu.utils.ts
index cb1b4d1d7bc..26a7eaf0748 100644
--- a/studio/components/layouts/LogsLayout/LogsMenu.utils.ts
+++ b/studio/components/layouts/LogsLayout/LogsMenu.utils.ts
@@ -1,14 +1,10 @@
import { Project } from 'types'
import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'
import { IS_PLATFORM } from 'lib/constants'
-import { useFlag } from 'hooks'
export const generateLogsMenu = (project?: Project): ProductMenuGroup[] => {
const ref = project?.ref ?? 'default'
- const logsPostgrest = useFlag('logsPostgrest')
- const logsPgbouncer = useFlag('logsPgbouncer')
-
return [
...(IS_PLATFORM
? [
@@ -40,26 +36,18 @@ export const generateLogsMenu = (project?: Project): ProductMenuGroup[] => {
url: `/project/${ref}/logs/postgres-logs`,
items: [],
},
- ...(logsPostgrest
- ? [
- {
- name: 'PostgREST',
- key: 'postgrest-logs',
- url: `/project/${ref}/logs/postgrest-logs`,
- items: [],
- },
- ]
- : []),
- ...(logsPgbouncer
- ? [
- {
- name: 'PgBouncer',
- key: 'pgbouncer-logs',
- url: `/project/${ref}/logs/pgbouncer-logs`,
- items: [],
- },
- ]
- : []),
+ {
+ name: 'PostgREST',
+ key: 'postgrest-logs',
+ url: `/project/${ref}/logs/postgrest-logs`,
+ items: [],
+ },
+ {
+ name: 'PgBouncer',
+ key: 'pgbouncer-logs',
+ url: `/project/${ref}/logs/pgbouncer-logs`,
+ items: [],
+ },
{
name: 'Auth',
key: 'auth-logs',