We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7f5bb commit 51acf64Copy full SHA for 51acf64
1 file changed
InteractiveHtmlBom/web/util.js
@@ -183,6 +183,7 @@ var units = {
183
return 1;
184
},
185
valueRegex: null,
186
+ valueAltRegex: null,
187
}
188
189
function initUtils() {
@@ -209,7 +210,7 @@ function initUtils() {
209
210
var allList = getBomListByLayer('FB').flat();
211
for (var id in pcbdata.bom.fields) {
212
var ref_key = allList.find(item => item[1] == Number(id)) || [];
- pcbdata.bom.parsedValues[id] = parseValue(pcbdata.bom.fields[id][index], ref_key);
213
+ pcbdata.bom.parsedValues[id] = parseValue(pcbdata.bom.fields[id][index], ref_key[0] || '');
214
215
216
0 commit comments