♻️ Only show the username instead of the name+username

This commit is contained in:
Fred KISSIE
2026-08-28 22:09:01 +02:00
parent e9f7678b90
commit a4d9365563
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -71,7 +71,6 @@ export type AdminOrgRow = {
resourceCount: number;
owner: {
userId: string;
name: string | null;
username: string;
} | null;
};
@@ -197,7 +196,6 @@ export async function adminListOrgs(
)`.as("resourceCount"),
owner: {
userId: users.userId,
name: users.name,
username: users.username
}
})
+1 -1
View File
@@ -124,7 +124,7 @@ export default function OrgsTable({
size="sm"
>
<Link href={`/admin/users/${owner.userId}`}>
{owner.name || owner.username}
{owner.username}
<ArrowUpRight className="ml-2 h-3 w-3" />
</Link>
</Button>