make search case insensitive in equipment and inventory pages (#9762)

This commit is contained in:
Matteo Pagliazzi 2018-01-04 13:06:15 +01:00 committed by GitHub
parent 6bb535c129
commit 7df3aba71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ export default {
},
watch: {
searchText: throttle(function throttleSearch () {
this.searchTextThrottled = this.searchText;
this.searchTextThrottled = this.searchText.toLowerCase();
}, 250),
},
mounted () {

View file

@ -252,7 +252,7 @@ export default {
},
watch: {
searchText: throttle(function throttleSearch () {
this.searchTextThrottled = this.searchText;
this.searchTextThrottled = this.searchText.toLowerCase();
}, 250),
},
computed: {