From 8176a0fcd8899862e2a4e63fc5139af07ae1343c Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Thu, 19 May 2022 10:42:29 -0230 Subject: [PATCH] Removes the Settings menu panel since there are no children here --- .../DatabaseLayout/DatabaseMenu.utils.ts | 28 ++++--------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts index a052084cad0..33e7ea21753 100644 --- a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts +++ b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts @@ -26,7 +26,12 @@ export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => { url: `/project/${ref}/database/replication`, items: [], }, - + { + name: 'Backups', + key: 'backups', + url: `/project/${ref}/database/backups`, + items: [], + }, ], }, ...(IS_PLATFORM @@ -50,27 +55,6 @@ export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => { }, ] : []), - ...(IS_PLATFORM - ? [ - { - title: 'Settings', - items: [ - { - name: 'Backups', - key: 'backups', - url: `/project/${ref}/database/backups`, - items: [], - }, - { - name: 'Connection Pooling', - key: 'pooling', - url: `/project/${ref}/database/pooling`, - items: [], - }, - ], - }, - ] - : []), ...(IS_PLATFORM ? [ {