From 4e02e75d7f7e56a0416e7cf812f096e7bbd405cf Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Thu, 19 Sep 2024 00:51:46 -0400 Subject: [PATCH] fix some bugs with the org selector --- src/components/dashboard/sidebar/organization-selector.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard/sidebar/organization-selector.tsx b/src/components/dashboard/sidebar/organization-selector.tsx index cc890b9..5b2b641 100644 --- a/src/components/dashboard/sidebar/organization-selector.tsx +++ b/src/components/dashboard/sidebar/organization-selector.tsx @@ -114,6 +114,7 @@ const OrganizationSelector = (): ReactElement => { (organization: Organization, index: number) => ( selectOrganization( @@ -125,11 +126,11 @@ const OrganizationSelector = (): ReactElement => { ) } > - {selected?.snowflake === + {organization.name} + {organization.snowflake === selectedOrganization && ( )} - {organization.name} ) )}