forked from baron/baron-sso
fix(adminfront): fix type errors in UserDetailPage causing build failures in CI
This commit is contained in:
@@ -525,7 +525,7 @@ function UserDetailPage() {
|
||||
>
|
||||
<Building2 size={12} className="mr-1.5" />
|
||||
{user.tenant?.name ||
|
||||
user.companyCode ||
|
||||
user.tenantSlug ||
|
||||
t("ui.admin.users.detail.form.tenant_global", "시스템 전역")}
|
||||
</Badge>
|
||||
<Badge
|
||||
@@ -1168,15 +1168,15 @@ function UserDetailPage() {
|
||||
<div className="grid gap-4">
|
||||
{rpHistoryQuery.data.map((item) => (
|
||||
<div
|
||||
key={item.client_id || item.clientId}
|
||||
key={item.client_id || item.client_id}
|
||||
className="flex items-center justify-between p-5 rounded-2xl border bg-card hover:border-primary/40 hover:shadow-md transition-all group"
|
||||
>
|
||||
<div className="flex flex-col gap-1.5">
|
||||
<span className="font-extrabold text-base group-hover:text-primary transition-colors">
|
||||
{item.clientName || item.clientId}
|
||||
{item.client_name || item.client_id}
|
||||
</span>
|
||||
<span className="text-[11px] text-muted-foreground font-mono bg-muted px-2 py-0.5 rounded w-fit">
|
||||
{item.clientId}
|
||||
{item.client_id}
|
||||
</span>
|
||||
</div>
|
||||
<div className="text-right">
|
||||
|
||||
Reference in New Issue
Block a user