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

@@ -33,7 +33,7 @@ export default function PaymentFormTotalPayments({ jobid }) {
{balance && (
<Statistic
title={t("payments.labels.balance")}
styles={{ value: { color: balance.getAmount() !== 0 ? "red" : "green" } }}
styles={{ content: { color: balance.getAmount() !== 0 ? "red" : "green" } }}
value={(balance && balance.toFormat()) || ""}
/>
)}