From fbc622fa04408cfdd55e2aca946cb7355e84ae71 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Wed, 20 Sep 2023 14:30:53 -0700 Subject: [PATCH] IO-2363 Make Summary.Difference follow Color logic --- .../labor-allocations-table.component.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/client/src/components/labor-allocations-table/labor-allocations-table.component.jsx b/client/src/components/labor-allocations-table/labor-allocations-table.component.jsx index 3c264dafc..83f99d867 100644 --- a/client/src/components/labor-allocations-table/labor-allocations-table.component.jsx +++ b/client/src/components/labor-allocations-table/labor-allocations-table.component.jsx @@ -231,7 +231,14 @@ export function LaborAllocationsTable({ {summary.adjustments.toFixed(1)} - {summary.difference.toFixed(1)} + = 0 ? "green" : "red", + }} + > + {summary.difference.toFixed(1)} + )}