From bfbe2f2dcfdee0a05069b1211b5dfef0d7c4fd50 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Fri, 26 May 2023 23:08:57 -0700 Subject: [PATCH] brought the button back down and removed side bar for other browsers --- frontend/src/layouts/AppLayout/AppLayout.tsx | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index 7d495c9df..938d9e428 100644 --- a/frontend/src/layouts/AppLayout/AppLayout.tsx +++ b/frontend/src/layouts/AppLayout/AppLayout.tsx @@ -261,8 +261,22 @@ export const AppLayout = ({ children }: LayoutProps) => { router.push(`/dashboard/${value}`); }} position="popper" - dropdownContainerClassName="text-bunker-200 bg-mineshaft-800 border border-mineshaft-600 z-50 overflow-y-scroll max-h-96 no-scrollbar border-gray-700" + dropdownContainerClassName="text-bunker-200 bg-mineshaft-800 border border-mineshaft-600 z-50 max-h-96 border-gray-700" > +
+ {workspaces + .filter((ws) => ws.organization === currentOrg?._id) + .map(({ _id, name }) => ( + + {name} + + ))} +
+
-
- {workspaces - .filter((ws) => ws.organization === currentOrg?._id) - .map(({ _id, name }) => ( - - {name} - - ))} ) : (