diff --git a/frontend/src/components/v2/Select/Select.tsx b/frontend/src/components/v2/Select/Select.tsx index 46cd3fb03..17e606050 100644 --- a/frontend/src/components/v2/Select/Select.tsx +++ b/frontend/src/components/v2/Select/Select.tsx @@ -1,6 +1,6 @@ import { forwardRef, ReactNode } from 'react'; import { IconProp } from '@fortawesome/fontawesome-svg-core'; -import { faCaretDown, faCheck, faChevronUp } from '@fortawesome/free-solid-svg-icons'; +import { faCaretDown, faCaretUp,faCheck } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import * as SelectPrimitive from '@radix-ui/react-select'; import { twMerge } from 'tailwind-merge'; @@ -63,7 +63,9 @@ export const Select = forwardRef( style={{ width: 'var(--radix-select-trigger-width)' }} > - +
+ +
{isLoading ? ( @@ -76,7 +78,9 @@ export const Select = forwardRef( )} - +
+ +
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index 791e3e385..938d9e428 100644 --- a/frontend/src/layouts/AppLayout/AppLayout.tsx +++ b/frontend/src/layouts/AppLayout/AppLayout.tsx @@ -261,9 +261,10 @@ export const AppLayout = ({ children }: LayoutProps) => { router.push(`/dashboard/${value}`); }} position="popper" - dropdownContainerClassName="text-bunker-200 bg-mineshaft-800 border border-mineshaft-600 z-50" + dropdownContainerClassName="text-bunker-200 bg-mineshaft-800 border border-mineshaft-600 z-50 max-h-96 border-gray-700" > - {workspaces +
+ {workspaces .filter((ws) => ws.organization === currentOrg?._id) .map(({ _id, name }) => ( { {name} ))} - {/*
*/} +
+