From 289700701449afd8e2f596a14bfb868a33e97f57 Mon Sep 17 00:00:00 2001 From: OG T Date: Thu, 9 Apr 2026 23:45:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E4=BF=AE=E5=BE=A9=20webpack=20buil?= =?UTF-8?q?d=20=E9=8C=AF=E8=AA=A4=20=E2=80=94=20=E9=87=8D=E8=A4=87=20flexS?= =?UTF-8?q?hrink=20+=20firing=5Fcount=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit header.tsx: 移除重複的 flexShrink: 0 屬性 (TS1117) classic/page.tsx: firing_count ?? 0 處理 undefined (TS2322) Co-Authored-By: Claude Sonnet 4.6 --- apps/web/src/app/[locale]/classic/page.tsx | 2 +- apps/web/src/components/layout/header.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/src/app/[locale]/classic/page.tsx b/apps/web/src/app/[locale]/classic/page.tsx index 4687f6da..fd5375b3 100644 --- a/apps/web/src/app/[locale]/classic/page.tsx +++ b/apps/web/src/app/[locale]/classic/page.tsx @@ -193,7 +193,7 @@ function MonitoringTools() { fontSize: 10, padding: '1px 7px', borderRadius: 8, fontWeight: 600, background: 'rgba(245,158,11,0.12)', color: '#F59E0B', }}> - {tDash('alertBadge', { count: tool.firing_count })} + {tDash('alertBadge', { count: tool.firing_count ?? 0 })} ) : ( {/* NemoClaw mini SVG */}