Show "Biography not available" notice

This commit is contained in:
Claudio Ortolina
2024-12-03 09:55:20 +00:00
parent 6519a8b3e8
commit 4dc1228a2d
2 changed files with 8 additions and 4 deletions
@@ -23,6 +23,9 @@
>
{render_bio(artist_info.bio)}
</div>
<div :if={!@artist_info.ok?} class="bio mt-4 text-sm leading-5 text-zinc-500 dark:text-zinc-400">
{gettext("Biography not available")}
</div>
<div :if={@artist_records.collection !== []} class="mt-4">
<h2 class="font-semibold text-base sm:text-lg leading-5 text-zinc-700 dark:text-zinc-300">