mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
UI: [VAULT-18178] Fix filter/search bug in search secrets engines (#23123)
This commit is contained in:
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 || [];
|
let newData = dataset || [];
|
||||||
if (filter) {
|
if (filter) {
|
||||||
newData = dataset.filter(function (item) {
|
newData = dataset.filter(function (item) {
|
||||||
const id = item.id || item;
|
const id = item.id || item.name || item;
|
||||||
return id.toLowerCase().includes(filter.toLowerCase());
|
return id.toLowerCase().includes(filter.toLowerCase());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user