aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/web/components/dashboard/lists/ManageCollaboratorsModal.tsx16
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/web/components/dashboard/lists/ManageCollaboratorsModal.tsx b/apps/web/components/dashboard/lists/ManageCollaboratorsModal.tsx
index 232a944b..0a55c5fe 100644
--- a/apps/web/components/dashboard/lists/ManageCollaboratorsModal.tsx
+++ b/apps/web/components/dashboard/lists/ManageCollaboratorsModal.tsx
@@ -260,9 +260,11 @@ export function ManageCollaboratorsModal({
<div className="font-medium">
{collaboratorsData.owner.name}
</div>
- <div className="text-sm text-muted-foreground">
- {collaboratorsData.owner.email}
- </div>
+ {collaboratorsData.owner.email && (
+ <div className="text-sm text-muted-foreground">
+ {collaboratorsData.owner.email}
+ </div>
+ )}
</div>
<div className="text-sm capitalize text-muted-foreground">
{t("lists.collaborators.owner")}
@@ -292,9 +294,11 @@ export function ManageCollaboratorsModal({
</Badge>
)}
</div>
- <div className="text-sm text-muted-foreground">
- {collaborator.user.email}
- </div>
+ {collaborator.user.email && (
+ <div className="text-sm text-muted-foreground">
+ {collaborator.user.email}
+ </div>
+ )}
</div>
{readOnly ? (
<div className="text-sm capitalize text-muted-foreground">