Skip to content

Commit e8d2efe

Browse files
authored
Merge pull request #1318 from trycompai/claudio/fix-id
[dev] [claudfuen] claudio/fix-id
2 parents d26590e + 36e12f1 commit e8d2efe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/app/src/components/organization-switcher.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ export function OrganizationSwitcher({
183183
{organizations.map((org) => (
184184
<CommandItem
185185
key={org.id}
186-
value={org.id}
186+
// Search by id and name
187+
value={`${org.id} ${org.name || ''}`}
187188
onSelect={() => {
188189
if (org.id !== currentOrganization?.id) {
189190
handleOrgChange(org);

0 commit comments

Comments
 (0)