Skip to content

Commit

Permalink
fix #210
Browse files Browse the repository at this point in the history
  • Loading branch information
cars10 committed Feb 21, 2024
1 parent dc65ca4 commit d7b26d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.0.4

* show shard size on hover, fixes [#199](https://github.com/cars10/elasticvue/pull/199) and [#203](https://github.com/cars10/elasticvue/pull/203)
* fix cluster selection filter, fixes [#210](https://github.com/cars10/elasticvue/issues/210)

## 1.0.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export const useClusterTable = () => {
const search = filter.value.toLowerCase().trim()

return [...connectionStore.clusters]
.map((cluster, i) => Object.assign({}, cluster, { index: i }))
.filter((cluster) => {
return cluster.name.toLowerCase().includes(search) ||
cluster.uri.toLowerCase().includes(search) ||
cluster.clusterName.toLowerCase().includes(search)
})
.map((cluster, i) => Object.assign({}, cluster, { index: i }))
})

const removeInstance = async (index: number) => {
Expand Down

0 comments on commit d7b26d6

Please sign in to comment.