diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e42584d..b1f01152 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * fix update&delete documents that use `routing`, fixes [#235](https://github.com/cars10/elasticvue/issues/235) * adds shard relocation confirm msg and cancel button, fixes [#236](https://github.com/cars10/elasticvue/issues/236) +* fix ui issue with long cluster names, fixes [#230](https://github.com/cars10/elasticvue/issues/230) ## 1.0.7 diff --git a/src/components/home/HomeStatus.vue b/src/components/home/HomeStatus.vue index 265a5b1f..566502d2 100644 --- a/src/components/home/HomeStatus.vue +++ b/src/components/home/HomeStatus.vue @@ -5,7 +5,7 @@
-

{{ data.cluster_name }}

+

{{ data.cluster_name }}

{{ connectionStore.activeCluster?.uuid }}
@@ -46,7 +46,9 @@

{{ data.indices.shards?.primaries || 0 }} primaries

-

{{ (data.indices?.shards?.total || 0) - (data.indices.shards?.primaries || 0) }} replicas

+

+ {{ (data.indices?.shards?.total || 0) - (data.indices.shards?.primaries || 0) }} replicas +

@@ -87,6 +89,7 @@ import ClusterInformation from './ClusterInformation.vue' import UnhealthyReason from './UnhealthyReason.vue' import { useConnectionStore } from '../../store/connection.ts' + const connectionStore = useConnectionStore() type ClusterStats = {