IO-1405 resolve shift label issues.

This commit is contained in:
Patrick Fic
2021-10-05 14:05:16 -07:00
parent 9d549b02fe
commit 220afa5add
3 changed files with 9 additions and 3 deletions

View File

@@ -50,7 +50,9 @@ export function TechClockInComponent({ form, bodyshop, technician }) {
{emps &&
emps.rates.map((item) => (
<Select.Option key={item.cost_center}>
{item.cost_center}
{item.cost_center === "timetickets.labels.shift"
? t(item.cost_center)
: item.cost_center}
</Select.Option>
))}
</Select>