Support uppercase addresses when searching.

fixes #301
This commit is contained in:
softsimon 2021-08-29 15:58:39 +03:00
parent 8fdbfdc04c
commit fc28b06a0f
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -92,7 +92,7 @@ export class SearchFormComponent implements OnInit {
}
search() {
const searchText = this.searchForm.value.searchText.trim();
const searchText = this.searchForm.get('searchText').value.trim().toLowerCase();
if (searchText) {
this.isSearching = true;
if (this.regexAddress.test(searchText)) {