IO-2286 Resolve duplication of cost centers when sorting labor allocations.

This commit is contained in:
Patrick Fic
2023-05-17 12:36:15 -07:00
parent 5e36a4ae89
commit 1c89d12034

View File

@@ -207,7 +207,7 @@ export function LaborAllocationsTable({
<Card title={t("jobs.labels.laborallocations")}> <Card title={t("jobs.labels.laborallocations")}>
<Table <Table
columns={columns} columns={columns}
rowKey="cost_center" rowKey={(record) => `${record.cost_center} ${record.mod_lbr_ty}`}
pagination={false} pagination={false}
onChange={handleTableChange} onChange={handleTableChange}
dataSource={totals} dataSource={totals}