Skip to content

Commit f6025ba

Browse files
prx-lmomportuga
authored andcommitted
[hotfix/5502]
- make building conventions happy
1 parent 23224e0 commit f6025ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/core/src/js/services/rowSearcher.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ module.service('rowSearcher', ['gridUtil', 'uiGridConstants', function (gridUtil
144144
break;
145145
case uiGridConstants.filter.EXACT:
146146
newFilter.exactRE = new RegExp('^' + newFilter.term + '$', regexpFlags);
147-
break;
147+
break;
148148
case uiGridConstants.filter.CONTAINS:
149149
newFilter.containsRE = new RegExp(newFilter.term, regexpFlags);
150150
break;
@@ -179,8 +179,9 @@ module.service('rowSearcher', ['gridUtil', 'uiGridConstants', function (gridUtil
179179

180180
// Get the column value for this row
181181
var value = column.filterCellFiltered ? grid.getCellDisplayValue(row, column) : grid.getCellValue(row, column);
182-
if(value == void 0)
182+
if (value == void 0){
183183
value = "";
184+
}
184185

185186
// If the filter's condition is a RegExp, then use it
186187
if (filter.condition instanceof RegExp) {

0 commit comments

Comments
 (0)