Skip to content

Commit

Permalink
feat(web): fallback to email for event logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed Jul 2, 2024
1 parent 59a54fe commit 90e1bab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/src/pages/projects/[projectId]/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ const EventsPage: NextPageWithLayout = () => {
imageUrl={event.user.image ?? undefined}
className="h-5 w-5 rounded-lg text-[10px]"
/>
<span>{event.user.name}</span>
<span>
{event.user.name ?? event.user.email ?? "Deleted User"}
</span>
</TableCell>
<TableCell
className="text-right"
Expand Down

0 comments on commit 90e1bab

Please sign in to comment.