fix(web): localize km workspace tabs
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m5s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 00:59:06 +08:00
parent cee40854fe
commit 32c7c55c52
3 changed files with 18 additions and 15 deletions

View File

@@ -9162,15 +9162,18 @@ function ManagerSituationBoard({
</span>
) : visibleBlockers.length ? (
<>
{visibleBlockers.map((blocker) => (
<span
key={blocker.source}
title={blocker.source}
className="border border-[#f0c6a8] bg-white px-2 py-0.5 font-mono text-[11px] font-semibold text-[#9a4d16]"
>
{compactBlockerLabel(blocker.source)}
</span>
))}
{visibleBlockers.map((blocker, index) => {
const source = blocker.source ?? `unknown_blocker_${index + 1}`;
return (
<span
key={`${source}-${index}`}
title={source}
className="border border-[#f0c6a8] bg-white px-2 py-0.5 font-mono text-[11px] font-semibold text-[#9a4d16]"
>
{compactBlockerLabel(source)}
</span>
);
})}
{hiddenBlockerCount > 0 ? (
<span className="border border-[#d8d3c7] bg-white px-2 py-0.5 font-mono text-[11px] font-semibold text-[#5f5b52]">
+{hiddenBlockerCount}