diff --git a/src/components/dashboard/Dashboard.tsx b/src/components/dashboard/Dashboard.tsx index 3597fbd..59daa72 100644 --- a/src/components/dashboard/Dashboard.tsx +++ b/src/components/dashboard/Dashboard.tsx @@ -104,10 +104,10 @@ export function Dashboard() { : "border-transparent text-gray-400 hover:text-gray-600" }`} > - 产品组 - {groups.filter((g) => maps.some((m) => m.group_id === g.id)).length > 0 && ( + 已加入产品组 + {mappedIds.size > 0 && ( - {groups.filter((g) => maps.some((m) => m.group_id === g.id)).length} + {mappedIds.size} )} @@ -119,7 +119,7 @@ export function Dashboard() { : "border-transparent text-gray-400 hover:text-gray-600" }`} > - 独立项目 + 未加入产品组 {standalone.length > 0 && ( {standalone.length}