From 64499659eea41351b70158016bc70fdfe3b38553 Mon Sep 17 00:00:00 2001 From: ramiroaisen <52116153+ramiroaisen@users.noreply.github.com> Date: Sat, 8 Jul 2023 16:28:26 -0300 Subject: [PATCH] fix types --- front/share/src/analytics/AnalyticsData.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/front/share/src/analytics/AnalyticsData.svelte b/front/share/src/analytics/AnalyticsData.svelte index 1e35111d..ad4b894e 100644 --- a/front/share/src/analytics/AnalyticsData.svelte +++ b/front/share/src/analytics/AnalyticsData.svelte @@ -514,7 +514,13 @@ const get_common_grid_options = () => { - type Item = { sessions: number, ips: number, total_duration_ms: number, total_transfer_bytes: number } + type Item = { + sessions: number, + ips: number, + total_duration_ms: number, + total_transfer_bytes: number, + max_concurrent_listeners: number + } const fields = { "sessions": { @@ -725,6 +731,7 @@ ips: 0, total_duration_ms: 0, total_transfer_bytes: 0, + max_concurrent_listeners: 0, }) } else { items.push(item)