Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: org dropdown with two orgs with same name (#18142)

Kevin Grünebergaaf144d7fb91
diff --git a/studio/components/layouts/AppLayout/OrganizationDropdown.tsx b/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
index 1bf405ee521..b593d46e68c 100644
--- a/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
+++ b/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
@@ -83,7 +83,7 @@ const OrganizationDropdown = ({ isNewNav = false }: OrganizationDropdownProps) =
<Link passHref href={href} key={org.slug}>
<CommandItem_Shadcn_
asChild
- value={org.name}
+ value={`${org.name} - ${org.slug}`}
className="cursor-pointer w-full flex items-center justify-between"
onSelect={() => {
setOpen(false)