From 624be5e414407961beeec8029a93f32d9f8ef0c4 Mon Sep 17 00:00:00 2001 From: jmurphy Date: Sat, 22 Jun 2024 16:08:37 +0000 Subject: [PATCH] check clusters length before render --- src/components/cluster.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/cluster.vue b/src/components/cluster.vue index 9c96fcd..b2fe28e 100644 --- a/src/components/cluster.vue +++ b/src/components/cluster.vue @@ -52,7 +52,7 @@ export default buildComponent({ } }, updated() { - if (this.$clusterObject) { + if (this.$clusterObject && this.$clusterObject.clusters.length > 0) { this.$clusterObject.render() } },