Skip to content

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

removed log menu from settings temporarily.

TzeYiing47b5718ac741
diff --git a/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts b/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts
index 047fd38ce6a..d20a1f7ca45 100644
--- a/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts
+++ b/studio/components/layouts/SettingsLayout/SettingsMenu.utils.ts
@@ -1,14 +1,14 @@
import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'
-import { LOG_TYPE_LABEL_MAPPING } from "lib/constants"
+// import { LOG_TYPE_LABEL_MAPPING } from "lib/constants"
export const generateSettingsMenu = (ref: string): ProductMenuGroup[] => {
- const logItems = ['rest', 'realtime', 'auth', 'storage', 'database'].map((type: string) => {
- return {
- name: LOG_TYPE_LABEL_MAPPING[type],
- key: `logs-${type}`,
- url: `/project/${ref}/settings/logs/${type}`,
- items: []
- }
- })
+ // const logItems = ['rest', 'realtime', 'auth', 'storage', 'database'].map((type: string) => {
+ // return {
+ // name: LOG_TYPE_LABEL_MAPPING[type],
+ // key: `logs-${type}`,
+ // url: `/project/${ref}/settings/logs/${type}`,
+ // items: []
+ // }
+ // })
return [
{
@@ -26,9 +26,9 @@ export const generateSettingsMenu = (ref: string): ProductMenuGroup[] => {
},
],
},
- {
- title: 'Logs',
- items: logItems,
- },
+ // {
+ // title: 'Logs',
+ // items: logItems,
+ // },
]
}