From ee93cb22eda6f365347c7c5fcaee41117829982c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 22 May 2025 08:11:49 +0100 Subject: [PATCH] =?UTF-8?q?Show=20separator=20only=20when=20there=E2=80=99?= =?UTF-8?q?s=20wishlisted=20records?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/music_library_web/live/artist_live/show.html.heex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/music_library_web/live/artist_live/show.html.heex b/lib/music_library_web/live/artist_live/show.html.heex index 728af1e3..01c66864 100644 --- a/lib/music_library_web/live/artist_live/show.html.heex +++ b/lib/music_library_web/live/artist_live/show.html.heex @@ -178,7 +178,7 @@ records_count={@collection_records_count} record_path={fn record -> ~p"/collection/#{record}" end} /> - <.separator class="mt-8 mb-8" /> + <.separator :if={@wishlist_records_count > 0} class="mt-8 mb-8" /> <.record_grid :if={@wishlist_records_count > 0} title={gettext("Wishlist")}