UI: [VAULT-18178] Fix filter/search bug in search secrets engines (#23123)

This commit is contained in:
Kianna 2023-09-15 15:03:17 -07:00 committed by GitHub
parent 824065b3ab
commit d939a20310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
changelog/23123.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
ui: Fixes filter and search bug in secrets engines
```

View file

@ -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());
});
}