TODO: make artist records a stream

This commit is contained in:
Claudio Ortolina
2024-12-11 23:24:38 +03:00
parent 3c85f9e974
commit 21439a580f
2 changed files with 2 additions and 1 deletions
@@ -21,6 +21,7 @@ defmodule MusicLibraryWeb.ArtistLive.Show do
socket
|> assign(:nav_section, :artists)
|> assign(:artist, artist)
# TODO: make it a stream
|> assign(:artist_records, grouped_artist_records)
|> assign_async(:artist_info, fn ->
with {:ok, artist_info} <- Records.get_artist_info(artist) do