mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
UI: [VAULT-18178] Fix filter/search bug in search secrets engines (#23123)
This commit is contained in:
parent
824065b3ab
commit
d939a20310
2 changed files with 4 additions and 1 deletions
3
changelog/23123.txt
Normal file
3
changelog/23123.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fixes filter and search bug in secrets engines
|
||||
```
|
||||
|
|
@ -100,7 +100,7 @@ export default class StoreService extends Store {
|
|||
let newData = dataset || [];
|
||||
if (filter) {
|
||||
newData = dataset.filter(function (item) {
|
||||
const id = item.id || item;
|
||||
const id = item.id || item.name || item;
|
||||
return id.toLowerCase().includes(filter.toLowerCase());
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue