From 326b226d969e84343fdaaf3a5ed55010a07d5956 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 23 Dec 2024 23:30:57 +0000 Subject: [PATCH] Remove unnecessary fallback to empty image version string Images always have a hash now, so fallback is not needed anymore. --- lib/music_library_web/components/record_components.ex | 2 +- lib/music_library_web/live/artist_live/show.html.heex | 4 ++-- lib/music_library_web/live/collection_live/show.html.heex | 2 +- lib/music_library_web/live/wishlist_live/show.html.heex | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/music_library_web/components/record_components.ex b/lib/music_library_web/components/record_components.ex index 6d4feaac..cd85aca5 100644 --- a/lib/music_library_web/components/record_components.ex +++ b/lib/music_library_web/components/record_components.ex @@ -26,7 +26,7 @@ defmodule MusicLibraryWeb.RecordComponents do {record.title}

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 e5dd22cd..6bdf4bd3 100644 --- a/lib/music_library_web/live/artist_live/show.html.heex +++ b/lib/music_library_web/live/artist_live/show.html.heex @@ -85,7 +85,7 @@
{record.title}
diff --git a/lib/music_library_web/live/wishlist_live/show.html.heex b/lib/music_library_web/live/wishlist_live/show.html.heex index 33440dae..8e6ec3b6 100644 --- a/lib/music_library_web/live/wishlist_live/show.html.heex +++ b/lib/music_library_web/live/wishlist_live/show.html.heex @@ -2,7 +2,7 @@
{@record.title}