File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ function entryMatches(entry) {
272
272
var f = config . fields [ i ] ;
273
273
if ( ! settings . hiddenColumns . includes ( f ) ) {
274
274
for ( var ref of entry ) {
275
- if ( pcbdata . bom . fields [ ref [ 1 ] ] [ i ] . toLowerCase ( ) . indexOf ( filter ) >= 0 ) {
275
+ if ( String ( pcbdata . bom . fields [ ref [ 1 ] ] [ i ] ) . toLowerCase ( ) . indexOf ( filter ) >= 0 ) {
276
276
return true ;
277
277
}
278
278
}
@@ -662,7 +662,7 @@ function populateBomBody(placeholderColumn = null, placeHolderElements = null) {
662
662
td = document . createElement ( "TD" ) ;
663
663
var output = new Array ( ) ;
664
664
for ( let item of valueSet ) {
665
- const visible = highlightFilter ( item ) ;
665
+ const visible = highlightFilter ( String ( item ) ) ;
666
666
if ( typeof item === 'string' && item . match ( urlRegex ) ) {
667
667
output . push ( `<a href="${ item } " target="_blank">${ visible } </a>` ) ;
668
668
} else {
You can’t perform that action at this time.
0 commit comments