Added reporting variance to header of reporting RPS-45

This commit is contained in:
Patrick Fic
2020-11-13 14:33:59 -08:00
parent 26af34e73d
commit a92b04a37b

View File

@@ -54,6 +54,15 @@ export function ReportingTotalsStatsMolecule({ reportingLoading, scoreCard }) {
value={((scoreCard.currentRpsPc || 0) * 100).toFixed(1)}
suffix="%"
/>
<Statistic
title="RPS Variance %"
style={{ margin: "0rem .5rem" }}
valueStyle={{
color: scoreCard.variancePc < 0 ? "tomato" : "seagreen",
}}
value={(scoreCard.variancePc * 100).toFixed(2)}
suffix="%"
/>
</div>
<div style={{ display: "flex" }}>
<Statistic