Skip to content

Commit 011bdd3

Browse files
kichManqu1ck
authored andcommitted
fix optimization in compare by reference name
1 parent 0e553b2 commit 011bdd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InteractiveHtmlBom/web/ibom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ function populateBomHeader(placeHolderColumn = null, placeHolderElements = null)
603603
tr.appendChild(createColumnHeader("References", "references", (a, b) => {
604604
var i = 0;
605605
while (i < a.length && i < b.length) {
606-
if (a[i] != b[i]) return compareRefs(a[i][0], b[i][0]);
606+
if (a[i][0] != b[i][0]) return compareRefs(a[i][0], b[i][0]);
607607
i++;
608608
}
609609
return a.length - b.length;

0 commit comments

Comments
 (0)