IO-1740 Scoreboard to 1 decimal.

This commit is contained in:
Patrick Fic
2022-02-16 15:27:13 -08:00
parent e7c380d780
commit 2c1c11828d

View File

@@ -101,7 +101,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
<Col {...statSpans}> <Col {...statSpans}>
<Statistic <Statistic
title={t("scoreboard.labels.dailyactual")} title={t("scoreboard.labels.dailyactual")}
value={values.todayBody} value={values.todayBody.toFixed(1)}
/> />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
@@ -116,7 +116,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
<Col {...statSpans}> <Col {...statSpans}>
<Statistic <Statistic
title={t("scoreboard.labels.weeklyactual")} title={t("scoreboard.labels.weeklyactual")}
value={values.weeklyBody} value={values.weeklyBody.toFixed(1)}
/> />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
@@ -140,7 +140,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
<Col {...statSpans}> <Col {...statSpans}>
<Statistic <Statistic
title={t("scoreboard.labels.todateactual")} title={t("scoreboard.labels.todateactual")}
value={values.toDateBody} value={values.toDateBody.toFixed(1)}
/> />
</Col> </Col>
</Row> </Row>
@@ -152,7 +152,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
/> />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
<Statistic value={values.todayPaint} /> <Statistic value={values.todayPaint.toFixed(1)} />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
<Statistic <Statistic
@@ -163,7 +163,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
/> />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
<Statistic value={values.weeklyPaint} /> <Statistic value={values.weeklyPaint.toFixed(1)} />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
<Statistic <Statistic
@@ -182,7 +182,7 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
/> />
</Col> </Col>
<Col {...statSpans}> <Col {...statSpans}>
<Statistic value={values.toDatePaint} /> <Statistic value={values.toDatePaint.toFixed(1)} />
</Col> </Col>
</Row> </Row>
</Col> </Col>