fix: 修复订阅跳转引号问题 + 设备组显示设备类型 + 统一用户名显示
Build and Release / Build (push) Has been cancelled

- 去掉所有 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:
2026-03-26 21:36:12 -07:00
parent 5019f76a73
commit 5a493fce67
7 changed files with 66 additions and 38 deletions
+13 -2
View File
@@ -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",