mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix search criteria to match case-insensitive listing
This commit is contained in:
parent
82a7d0c40f
commit
bfe87cadb3
1 changed files with 1 additions and 1 deletions
|
|
@ -684,7 +684,7 @@ impl VaultUx {
|
||||||
VaultMode::Password => &il.pw,
|
VaultMode::Password => &il.pw,
|
||||||
};
|
};
|
||||||
for item in item_list.values() {
|
for item in item_list.values() {
|
||||||
if item.name.starts_with(criteria) {
|
if item.name.to_lowercase().starts_with(criteria) {
|
||||||
let mut staged_item = item.clone();
|
let mut staged_item = item.clone();
|
||||||
staged_item.dirty = true;
|
staged_item.dirty = true;
|
||||||
self.filtered_list.push(staged_item);
|
self.filtered_list.push(staged_item);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue