mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-29 07:21:37 +02:00
♻️ Only show the username instead of the name+username
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user