Completely updated React, fixed #11, (hopefully)
This commit is contained in:
6
goTorrentWebUI/node_modules/react-bootstrap-table/lib/store/TableDataStore.js
generated
vendored
6
goTorrentWebUI/node_modules/react-bootstrap-table/lib/store/TableDataStore.js
generated
vendored
@@ -503,10 +503,12 @@ var TableDataStore = function () {
|
||||
}
|
||||
}, {
|
||||
key: 'filterText',
|
||||
value: function filterText(targetVal, filterVal) {
|
||||
value: function filterText() {
|
||||
var targetVal = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
||||
var filterVal = arguments[1];
|
||||
var cond = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _Const2.default.FILTER_COND_LIKE;
|
||||
|
||||
targetVal = targetVal.toString();
|
||||
targetVal = targetVal === null ? '' : targetVal.toString();
|
||||
filterVal = filterVal.toString();
|
||||
if (cond === _Const2.default.FILTER_COND_EQ) {
|
||||
return targetVal === filterVal;
|
||||
|
Reference in New Issue
Block a user