fix filter to ignore caps

develop
Morisse 6 years ago
parent 6d20f4733c
commit beb01df2f9
  1. 2
      src/DataToTable.js

@ -393,7 +393,7 @@ export default class DataToTable extends Component {
if ({}.hasOwnProperty.call(filteredData[row], property)) {
const data = filteredData[row][property]['data'];
if (filteredData[row][property] && data) {
if (data.toString().toLowerCase().includes(this.state.filter['textFilter'])) {
if (data.toString().toLowerCase().includes(this.state.filter['textFilter'].toLowerCase())) {
dismissrow = false;
}
}

Loading…
Cancel
Save