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

@@ -404,7 +404,7 @@ export default function CdkLikePostForm({ bodyshop, socket, job, logsRef, mode,
<Typography.Title>=</Typography.Title>
<Statistic
title={t("jobs.labels.dms.notallocated")}
styles={{ value: { color: discrep.getAmount() === 0 ? "green" : "red" } }}
styles={{ content: { color: discrep.getAmount() === 0 ? "green" : "red" } }}
value={discrep.toFormat()}
/>
<Button disabled={disablePost} htmlType="submit">