fix(dashboard): 看板 Tab 命名自洽 — 已加入产品组 / 未加入产品组
All checks were successful
Push & PR Check / check (push) Successful in 49s

This commit is contained in:
lanrtop 2026-07-04 11:17:26 +09:00
parent 16556e1dcc
commit b9f77e75a2

View File

@ -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 && (
<span className="ml-1.5 text-xs bg-gray-100 text-gray-500 rounded-full px-1.5 py-0.5">
{groups.filter((g) => maps.some((m) => m.group_id === g.id)).length}
{mappedIds.size}
</span>
)}
</button>
@ -119,7 +119,7 @@ export function Dashboard() {
: "border-transparent text-gray-400 hover:text-gray-600"
}`}
>
{standalone.length > 0 && (
<span className="ml-1.5 text-xs bg-gray-100 text-gray-500 rounded-full px-1.5 py-0.5">
{standalone.length}