IO-792 Track lbr_adjustments and resolve errors on edit.
This commit is contained in:
@@ -255,14 +255,7 @@ export function BillEnterModalLinesComponent({
|
||||
>
|
||||
<Switch disabled={disabled} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
shouldUpdate={(prev, cur) =>
|
||||
prev.billlines[index] &&
|
||||
prev.billlines[index].deductedfromlbr !==
|
||||
cur.billlines[index] &&
|
||||
cur.billlines[index].deductedfromlbr
|
||||
}
|
||||
>
|
||||
<Form.Item shouldUpdate>
|
||||
{() => {
|
||||
if (
|
||||
getFieldValue([
|
||||
|
||||
Reference in New Issue
Block a user