IO-3534 Adjust value prop to content for antd prop change to fix color display.

This commit is contained in:
Patrick Fic
2026-02-02 09:33:37 -08:00
parent 849d967b56
commit 28a41f7637
5 changed files with 15 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ export function DashboardTotalProductionHours({ bodyshop, data, ...cardProps })
<Statistic
title={t("dashboard.labels.prodhrs")}
value={hours.total.toFixed(1)}
styles={{ value: { color: aboveTargetHours ? "green" : "red" } }}
styles={{ content: { color: aboveTargetHours ? "green" : "red" } }}
/>
</Space>
</Card>