From f4082171ecaa86200d87201e83ae517fe88f6df8 Mon Sep 17 00:00:00 2001
From: Philip Okugbe <16838612+Philipinho@users.noreply.github.com>
Date: Mon, 14 Jul 2025 02:37:13 -0700
Subject: [PATCH] feat: display user email below name in multi-member-select
dropdown (#1355)
- Added email field to user items mapping
- Updated renderMultiSelectOption to show email in smaller, dimmed text
- Email only displays for user type options, not groups
---
.../src/features/space/components/multi-member-select.tsx | 4 ++++
apps/server/src/core/search/search.service.ts | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/apps/client/src/features/space/components/multi-member-select.tsx b/apps/client/src/features/space/components/multi-member-select.tsx
index efa2142f..602a6232 100644
--- a/apps/client/src/features/space/components/multi-member-select.tsx
+++ b/apps/client/src/features/space/components/multi-member-select.tsx
@@ -26,6 +26,9 @@ const renderMultiSelectOption: MultiSelectProps["renderOption"] = ({
{option["type"] === "group" &&