IO-938 Prod Sublet Relabeling

This commit is contained in:
Patrick Fic
2021-05-03 16:58:53 -07:00
parent 4e78f8223f
commit d7b39cb7c1

View File

@@ -90,9 +90,9 @@ export default function ProductionSubletsManageComponent({ subletJobLines }) {
placement="bottom"
title={t("production.labels.sublets")}
>
<span
style={{ color: subletCount.outstanding > 0 ? "tomato" : "" }}
>{`${subletCount.outstanding} / ${subletCount.total} rem.`}</span>
<span style={{ color: subletCount.outstanding > 0 ? "tomato" : "" }}>{`${
subletCount.total - subletCount.outstanding
} / ${subletCount.total}`}</span>
</Popover>
);
}