Fix error in rendering an artist with empty bio
Includes a refactor for a helper to test for play count
This commit is contained in:
@@ -51,7 +51,7 @@ msgid "Choose a value"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/layouts/app.html.heex:13
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:33
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:36
|
||||
#: lib/music_library_web/live/collection_live/index.ex:77
|
||||
#: lib/music_library_web/live/collection_live/show.ex:102
|
||||
#: lib/music_library_web/live/collection_live/show.ex:119
|
||||
@@ -328,7 +328,7 @@ msgid "Welcome to your Music Library"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/components/layouts/app.html.heex:19
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:71
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:74
|
||||
#: lib/music_library_web/live/wishlist_live/index.ex:75
|
||||
#: lib/music_library_web/live/wishlist_live/show.ex:102
|
||||
#, elixir-autogen, elixir-format
|
||||
@@ -477,14 +477,13 @@ msgstr ""
|
||||
msgid "Dev dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/artist_live/show.ex:53
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:28
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Biography not available"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:51
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:89
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:54
|
||||
#: lib/music_library_web/live/artist_live/show.html.heex:92
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "View details"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user