Remove unnecessary fallback to empty image version string

Images always have a hash now, so fallback is not needed anymore.
This commit is contained in:
Claudio Ortolina
2024-12-23 23:30:57 +00:00
parent eabae0654f
commit 326b226d96
4 changed files with 5 additions and 5 deletions
@@ -26,7 +26,7 @@ defmodule MusicLibraryWeb.RecordComponents do
<img
class="w-20 flex-none rounded-lg"
alt={record.title}
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash || ""}"}
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash}"}
/>
<div class="min-w-0 flex-auto">
<h1 class="text-sm leading-6 text-zinc-700">