Skip to content

Commit

Permalink
fix: ws stats, minor fixes (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroaisen authored Dec 24, 2023
2 parents a7dd77d + 215f1ed commit c3730c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions front/share/src/analytics/AnalyticsTypeSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<div class="type-selector">
<div class="type-selector-item" class:selected={type === "stream"}>
{#if type === "stream"}
<div class="bg" in:enter={{ key: null }} out:leave={{ key: null }} />
<div class="bg" in:enter|local={{ key: null }} out:leave|local={{ key: null }} />
{/if}
<button class="type-selector-btn" on:click={() => type = "stream"}>
<!-- TODO: locale -->
Expand All @@ -56,7 +56,7 @@
</div>
<div class="type-selector-item" class:selected={type === "app"}>
{#if type === "app"}
<div class="bg" in:enter={{ key: null }} out:leave={{ key: null }} />
<div class="bg" in:enter|local={{ key: null }} out:leave|local={{ key: null }} />
{/if}
<button class="type-selector-btn" on:click={() => type = "app"}>
<!-- TODO: locale -->
Expand Down
1 change: 0 additions & 1 deletion rs/packages/api/src/ws_stats/routes/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ pub struct Query {

#[ts(optional)]
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(with = "serde_util::as_f64::option")]
app_version: Option<u32>,
}

Expand Down

0 comments on commit c3730c3

Please sign in to comment.