Skip to content

Commit d7b26d6

Browse files
committed
fix #210
1 parent dc65ca4 commit d7b26d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 1.0.4
44

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

78
## 1.0.3
89

src/composables/components/clusterselection/ClusterTable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export const useClusterTable = () => {
1616
const search = filter.value.toLowerCase().trim()
1717

1818
return [...connectionStore.clusters]
19+
.map((cluster, i) => Object.assign({}, cluster, { index: i }))
1920
.filter((cluster) => {
2021
return cluster.name.toLowerCase().includes(search) ||
2122
cluster.uri.toLowerCase().includes(search) ||
2223
cluster.clusterName.toLowerCase().includes(search)
2324
})
24-
.map((cluster, i) => Object.assign({}, cluster, { index: i }))
2525
})
2626

2727
const removeInstance = async (index: number) => {

0 commit comments

Comments
 (0)