1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-02-19 20:55:55 +01:00

saveditempane: make filtering case-insensitive

This commit is contained in:
Kushagra Gour 2019-03-18 15:47:20 +05:30
parent 351905e44d
commit 00a00d38ec

View File

@ -134,7 +134,7 @@ export default class SavedItemPane extends Component {
}
searchInputHandler(e) {
const text = e.target.value;
const text = e.target.value.toLowerCase();
if (!text) {
this.setState({
filteredItems: this.state.items