IO-809 Disable reconciliation on removed joblines.

This commit is contained in:
Patrick Fic
2021-03-25 08:41:36 -07:00
parent f5dfd1ade4
commit 1eda8f8c31
3 changed files with 9 additions and 2 deletions

View File

@@ -113,6 +113,9 @@ export default function JobReconcilitionPartsTable({
onChange={handleTableChange}
rowSelection={{
onChange: handleOnRowClick,
getCheckboxProps: (record) => ({
disabled: record.removed,
}),
selectedRowKeys: selectedLines,
}}
rowClassName={(record) => record.removed && "text-strikethrough"}