Skip to content

Commit bc4d4c3

Browse files
jankeromnesroboquat
authored andcommitted
[dashboard] Keep showing 'Personal Account' menu entry if you have personal projects but no team yet
1 parent 1e0a4ba commit bc4d4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dashboard/src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export default function Menu() {
249249
};
250250
const isTeamLevelActive = !projectSlug && !isWorkspacesUI && !isPersonalSettingsUI && !isAdminUI && teamOrUserSlug;
251251
const renderTeamMenu = () => {
252-
if (!teams || teams.length === 0) {
252+
if (!hasIndividualProjects && (!teams || teams.length === 0)) {
253253
return (
254254
<div className="p-1 text-base text-gray-500 dark:text-gray-400 border-gray-800">
255255
<PillMenuItem

0 commit comments

Comments
 (0)