From f9be074fc74e04cf54a813d7c1bb6a4298ff9405 Mon Sep 17 00:00:00 2001 From: kichMan Date: Mon, 24 Mar 2025 00:31:39 +0300 Subject: [PATCH] fix optimization in compare by reference name --- InteractiveHtmlBom/web/ibom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InteractiveHtmlBom/web/ibom.js b/InteractiveHtmlBom/web/ibom.js index c7b4ad7..d628d98 100644 --- a/InteractiveHtmlBom/web/ibom.js +++ b/InteractiveHtmlBom/web/ibom.js @@ -603,7 +603,7 @@ function populateBomHeader(placeHolderColumn = null, placeHolderElements = null) tr.appendChild(createColumnHeader("References", "references", (a, b) => { var i = 0; while (i < a.length && i < b.length) { - if (a[i] != b[i]) return compareRefs(a[i][0], b[i][0]); + if (a[i][0] != b[i][0]) return compareRefs(a[i][0], b[i][0]); i++; } return a.length - b.length;