From cb2ed30776f2f9ddb0b21f9fc0efc36c580e807a Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 23 Oct 2024 13:39:35 +0300 Subject: [PATCH] bugfix chart data double build --- client/src/views/HealthCheck/HealthTargetView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/views/HealthCheck/HealthTargetView.vue b/client/src/views/HealthCheck/HealthTargetView.vue index a5a5da0..7e94ca0 100644 --- a/client/src/views/HealthCheck/HealthTargetView.vue +++ b/client/src/views/HealthCheck/HealthTargetView.vue @@ -72,7 +72,7 @@ export default defineComponent({ }, getChartData() { const units = this.healthCheckStore.getUnits(this.healthTarget)?.reverse() - if (units == undefined) return + if (units == undefined) return [] return { labels: units?.map(el => moment(el.request_datetime)), datasets: [{ @@ -130,7 +130,7 @@ export default defineComponent({

Response Times:

-
+