We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0edb94 commit bc5b0acCopy full SHA for bc5b0ac
InteractiveHtmlBom/web/ibom.js
@@ -378,7 +378,19 @@ function getSelectedBomList() {
378
out = pcbdata.bom.B.slice();
379
break;
380
}
381
- return (settings.bommode == "ungrouped") ? out.flat() : out;
+
382
+ if (settings.bommode == "ungrouped") {
383
+ // expand bom table
384
+ var expandedTable = [];
385
+ for (var bomentry of out) {
386
+ for (var ref of bomentry) {
387
+ expandedTable.push([ref]);
388
+ }
389
390
+ return expandedTable;
391
392
393
+ return out;
394
395
396
function checkboxSetUnsetAllHandler(checkboxname) {
0 commit comments