Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroaisen committed Jul 8, 2023
1 parent b74237e commit 6449965
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion front/share/src/analytics/AnalyticsData.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -725,6 +731,7 @@
ips: 0,
total_duration_ms: 0,
total_transfer_bytes: 0,
max_concurrent_listeners: 0,
})
} else {
items.push(item)
Expand Down

0 comments on commit 6449965

Please sign in to comment.