CSR-2076 | Formatting
This commit is contained in:
parent
4830a53fb7
commit
8635ab63e7
1 changed files with 6 additions and 4 deletions
|
|
@ -3000,10 +3000,12 @@ function supportingItemsEqual(supportingItemsA, supportingItemsB) {
|
|||
const sortedA = supportingItemsA.slice().sort();
|
||||
const sortedB = supportingItemsB.slice().sort();
|
||||
for (let i = 0; i < sortedA.length; i++) {
|
||||
if (sortedA[i].partNumber != sortedB[i].partNumber ||
|
||||
sortedA[i].partType != sortedB[i].partType) {
|
||||
return false;
|
||||
}
|
||||
if (
|
||||
sortedA[i].partNumber != sortedB[i].partNumber ||
|
||||
sortedA[i].partType != sortedB[i].partType
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue