update request draft when there is no sequence change

This commit is contained in:
Anusree Subash 2024-10-24 12:59:00 +05:30
parent f43775e245
commit 18fc31d23c

View File

@ -754,6 +754,9 @@ export const deleteUidsInItem = (item) => {
};
export const areItemsTheSameExceptSeqUpdate = (_item1, _item2) => {
// handle case when there is no sequence update
if (_item1.seq === _item2.seq) return false
let item1 = cloneDeep(_item1);
let item2 = cloneDeep(_item2);