From 48b425ac4a1f3d47212bfeb1df96b9eacc99daea Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Mon, 24 Oct 2022 13:22:52 +0000 Subject: [PATCH] [dashboard] Keep showing 'Personal Account' menu entry if you have personal projects but no team yet --- components/dashboard/src/Menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dashboard/src/Menu.tsx b/components/dashboard/src/Menu.tsx index 631da55dfe430c..b68c7dce3ab691 100644 --- a/components/dashboard/src/Menu.tsx +++ b/components/dashboard/src/Menu.tsx @@ -249,7 +249,7 @@ export default function Menu() { }; const isTeamLevelActive = !projectSlug && !isWorkspacesUI && !isPersonalSettingsUI && !isAdminUI && teamOrUserSlug; const renderTeamMenu = () => { - if (!teams || teams.length === 0) { + if (!hasIndividualProjects && (!teams || teams.length === 0)) { return (