Skip to content

Commit

Permalink
empty table col width
Browse files Browse the repository at this point in the history
  • Loading branch information
mishushakov committed Dec 5, 2024
1 parent 1bb820c commit b5cbb72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/web/src/components/Dashboard/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const TeamContent = ({
<TableBody>
{members.length === 0 ? (
<TableRow className="border-b border-white/5">
<TableCell colSpan={2} className="text-center">
<TableCell colSpan={4} className="text-center">
No members found
</TableCell>
</TableRow>
Expand All @@ -287,7 +287,9 @@ export const TeamContent = ({
<TableCell>{user.email}</TableCell>
<TableCell>{user.addedBy?.email}</TableCell>
<TableCell>
{new Date(user.addedAt).toLocaleString()}
{user.addedAt
? new Date(user.addedAt).toLocaleString()
: ''}
</TableCell>
<TableCell align="right">
<Button
Expand Down

0 comments on commit b5cbb72

Please sign in to comment.