fix: ui fixes
This commit is contained in:
@@ -76,7 +76,6 @@ export default function UsersPage() {
|
||||
<TR>
|
||||
<TH>User</TH>
|
||||
<TH>Email</TH>
|
||||
<TH>Auth</TH>
|
||||
<TH>Posts</TH>
|
||||
<TH>Joined</TH>
|
||||
<TH className="text-right">Actions</TH>
|
||||
@@ -84,7 +83,7 @@ export default function UsersPage() {
|
||||
</THead>
|
||||
<tbody>
|
||||
{list.items.length === 0 && !list.loading ? (
|
||||
<EmptyRow cols={6} label="No users found." />
|
||||
<EmptyRow cols={5} label="No users found." />
|
||||
) : (
|
||||
list.items.map((u) => (
|
||||
<TR key={u.id}>
|
||||
@@ -107,10 +106,14 @@ export default function UsersPage() {
|
||||
</div>
|
||||
</TD>
|
||||
<TD>
|
||||
{u.email ?? <span className="text-muted-foreground">—</span>}
|
||||
</TD>
|
||||
<TD>
|
||||
<AuthIcons user={u} />
|
||||
<div className="space-y-1.5">
|
||||
<div>
|
||||
{u.email ?? (
|
||||
<span className="text-muted-foreground">—</span>
|
||||
)}
|
||||
</div>
|
||||
<AuthIcons user={u} />
|
||||
</div>
|
||||
</TD>
|
||||
<TD>{u.post_count}</TD>
|
||||
<TD className="whitespace-nowrap">{fmtDate(u.created_at)}</TD>
|
||||
|
||||
Reference in New Issue
Block a user