diff --git a/lib/music_library_web/live/stats_live/index.ex b/lib/music_library_web/live/stats_live/index.ex
index efa85b80..f39d2b04 100644
--- a/lib/music_library_web/live/stats_live/index.ex
+++ b/lib/music_library_web/live/stats_live/index.ex
@@ -45,6 +45,30 @@ defmodule MusicLibraryWeb.StatsLive.Index do
+ <.async_result :let={summary} assign={@collection_summary}>
+ <:loading>
+
+ <.section>
+ <:title>{gettext("Formats")}
+
+
+ <.section>
+ <:title>{gettext("Types")}
+
+
+
+
+ <:failed :let={_reason}>
+ 0} class="grid gap-x-5 md:grid-cols-2">
+ <.formats_stats collection_count_by_format={summary.collection_count_by_format} />
+ <.types_stats collection_count_by_type={summary.collection_count_by_type} />
+
+
+
@@ -73,30 +97,6 @@ defmodule MusicLibraryWeb.StatsLive.Index do
- <.async_result :let={summary} assign={@collection_summary}>
- <:loading>
-
- <.section>
- <:title>{gettext("Formats")}
-
-
- <.section>
- <:title>{gettext("Types")}
-
-
-
-
- <:failed :let={_reason}>
- 0} class="grid gap-x-5 md:grid-cols-2">
- <.formats_stats collection_count_by_format={summary.collection_count_by_format} />
- <.types_stats collection_count_by_type={summary.collection_count_by_type} />
-
-
-
<.scrobble_activity
scrobble_activity_mode={@scrobble_activity_mode}
streams={@streams}