Load release when opening collection show page

Includes small fixes to make both logic and tests more robust
This commit is contained in:
Claudio Ortolina
2025-05-11 11:04:28 +01:00
parent 279caf26fb
commit f21a289008
3 changed files with 24 additions and 28 deletions
+2 -2
View File
@@ -37,10 +37,10 @@ defmodule MusicBrainz.Release do
%__MODULE__{
id: r["id"],
title: r["title"],
artists: parse_artists(r["artist-credit"]),
artists: parse_artists(r["artist-credit"] || []),
date: r["date"],
barcode: r["barcode"],
media: parse_media(r["media"])
media: parse_media(r["media"] || [])
}
end