From 1f8fc4c3f5e7c4e56c112644a39cb400e55d8df9 Mon Sep 17 00:00:00 2001 From: Muhsin Shah C P Date: Mon, 24 Oct 2022 23:30:15 +0530 Subject: [PATCH] [bugfix] Fixed single workspace organization menu issue (#4339) * Fixed single workspace organization menu issue * PR changes --- frontend/src/_components/Organization.jsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/src/_components/Organization.jsx b/frontend/src/_components/Organization.jsx index dadd0580d3..dbbdf0dac6 100644 --- a/frontend/src/_components/Organization.jsx +++ b/frontend/src/_components/Organization.jsx @@ -325,11 +325,13 @@ export const Organization = function Organization({ darkMode }) { >
{organization}
- {(!isSingleOrganization || admin) && ( -
- {isListOrganizations ? getListOrganizations() : getOrganizationMenu()} -
- )} +
+ {!isSingleOrganization || admin + ? isListOrganizations + ? getListOrganizations() + : getOrganizationMenu() + : getOrganizationMenu()} +