diff --git a/lib/music_library_web/live/stats_live/index.ex b/lib/music_library_web/live/stats_live/index.ex
index 2870c68c..5707ad62 100644
--- a/lib/music_library_web/live/stats_live/index.ex
+++ b/lib/music_library_web/live/stats_live/index.ex
@@ -150,6 +150,19 @@ defmodule MusicLibraryWeb.StatsLive.Index do
"""
end
+ defp refresh_lastfm_feed_button(assigns) do
+ ~H"""
+
+ """
+ end
+
def mount(_params, _session, socket) do
latest_record = Collection.get_latest_record!()
recent_tracks = LastFm.get_scrobbled_tracks()
diff --git a/lib/music_library_web/live/stats_live/index.html.heex b/lib/music_library_web/live/stats_live/index.html.heex
index 4016d949..081d95d0 100644
--- a/lib/music_library_web/live/stats_live/index.html.heex
+++ b/lib/music_library_web/live/stats_live/index.html.heex
@@ -69,9 +69,12 @@
-
- {gettext("Top Albums")}
-
+
+
+ {gettext("Top Albums")}
+
+ <.refresh_lastfm_feed_button />
+
<.top_albums_by_period
@@ -100,14 +103,7 @@
{gettext("Scrobble activity")}
-
+ <.refresh_lastfm_feed_button />
<%!-- TODO: replace with OSS version --%>
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot
index 61f85348..bdaf5e26 100644
--- a/priv/gettext/default.pot
+++ b/priv/gettext/default.pot
@@ -281,7 +281,7 @@ msgstr ""
msgid "MusicBrainz data refreshed successfully"
msgstr ""
-#: lib/music_library_web/live/stats_live/index.html.heex
+#: lib/music_library_web/live/stats_live/index.ex
#, elixir-autogen, elixir-format
msgid "Refresh LastFm Feed"
msgstr ""
diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po
index fe09a8ed..10c4d5ff 100644
--- a/priv/gettext/en/LC_MESSAGES/default.po
+++ b/priv/gettext/en/LC_MESSAGES/default.po
@@ -281,7 +281,7 @@ msgstr ""
msgid "MusicBrainz data refreshed successfully"
msgstr ""
-#: lib/music_library_web/live/stats_live/index.html.heex
+#: lib/music_library_web/live/stats_live/index.ex
#, elixir-autogen, elixir-format
msgid "Refresh LastFm Feed"
msgstr ""