From 67d05a44e583becb0025d06d7740e72efc938213 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Sat, 22 Mar 2025 21:32:57 -0600 Subject: [PATCH] update share --- .../components/features/ShareMenu/IndividualSharePerson.tsx | 6 +++--- .../components/features/ShareMenu/ShareMenuContentBody.tsx | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/components/features/ShareMenu/IndividualSharePerson.tsx b/web/src/components/features/ShareMenu/IndividualSharePerson.tsx index ad5abbd02..b9cf7bf0f 100644 --- a/web/src/components/features/ShareMenu/IndividualSharePerson.tsx +++ b/web/src/components/features/ShareMenu/IndividualSharePerson.tsx @@ -23,13 +23,13 @@ export const IndividualSharePerson: React.FC<{
-
- +
+ {name || email} {isSameEmailName ? null : ( - + {email} )} diff --git a/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx b/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx index a5137e837..7b27fb55e 100644 --- a/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx +++ b/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx @@ -116,6 +116,7 @@ const ShareMenuContentShare: React.FC = React.memo( }); const onUpdateShareRole = useMemoizedFn(async (email: string, role: ShareRole | null) => { + console.log({ email, assetId, assetType }); if (role) { const payload: Parameters[0] = { id: assetId,