The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix weird wide resizeable panel if load table editor or sql editor from a fresh browser session (#29205)
Joshen Lim193e1531e8da
diff --git a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsxindex 3c378fffe95..525ef25f29b 100644--- a/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx+++ b/apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx@@ -90,10 +90,11 @@ const ProjectLayout = ({const navLayoutV2 = useFlag('navigationLayoutV2')const isPaused = selectedProject?.status === PROJECT_STATUS.INACTIVE- const showProductMenu =- selectedProject?.status === PROJECT_STATUS.ACTIVE_HEALTHY ||- (selectedProject?.status !== PROJECT_STATUS.ACTIVE_HEALTHY &&- router.pathname.includes('/project/[ref]/settings'))+ const showProductMenu = selectedProject+ ? selectedProject.status === PROJECT_STATUS.ACTIVE_HEALTHY ||+ (selectedProject.status === PROJECT_STATUS.COMING_UP &&+ router.pathname.includes('/project/[ref]/settings'))+ : trueconst ignorePausedState =router.pathname === '/project/[ref]' || router.pathname.includes('/project/[ref]/settings')const showPausedState = isPaused && !ignorePausedState@@ -128,7 +129,7 @@ const ProjectLayout = ({<><ResizablePanelclassName={cn(resizableSidebar ? 'min-w-64 max-w-[32rem]' : 'min-w-64 max-w-64')}- defaultSize={1} // forces panel to smallest width possible, at w-64+ defaultSize={0} // forces panel to smallest width possible, at w-64><MenuBarWrapperisLoading={isLoading}