- 去掉所有 Link search 中的 String() 包装(7处),修复 URL 引号问题 - View Owner 改用 useNavigate 强制导航,解决同页面跳转不生效 - 设备组详情成员列表添加 auth_type Badge 和 device_type Badge - 设备组列表 owner 列统一为 [AUTH_TYPE Badge] + identifier 格式 - UserDetail 组件统一设备标识逻辑,去掉 shortenDeviceIdentifier Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
@@ -54,8 +54,19 @@ export default function FamilyManagement({
|
||||
{
|
||||
accessorKey: "owner_identifier",
|
||||
header: t("owner", "Owner"),
|
||||
cell: ({ row }) =>
|
||||
`${row.original.owner_identifier} (ID: ${row.original.owner_user_id})`,
|
||||
cell: ({ row }) => (
|
||||
<div className="flex items-center gap-1">
|
||||
{row.original.owner_auth_type ? (
|
||||
<Badge className="uppercase">
|
||||
{row.original.owner_auth_type}
|
||||
</Badge>
|
||||
) : null}
|
||||
<span>{row.original.owner_identifier}</span>
|
||||
<span className="text-muted-foreground text-xs">
|
||||
(ID: {row.original.owner_user_id})
|
||||
</span>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorKey: "status",
|
||||
|
||||
Reference in New Issue
Block a user