Backport of UI: [VAULT-18178] Fix filter/search bug in search secrets engines into release/1.14.x (#23130)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
This commit is contained in:
parent
34b2650ad7
commit
bf9114d772
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fixes filter and search bug in secrets engines
|
||||
```
|
|
@ -111,7 +111,7 @@ export default Store.extend({
|
|||
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 New Issue