handle multiple artists properly in UI

This commit is contained in:
Drew Weymouth
2023-10-22 11:40:06 -07:00
parent d6a1f70823
commit 4f002574c2
13 changed files with 73 additions and 48 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ func buildArtistGridViewModel(artists []*mediaprovider.Artist) []widgets.GridVie
ID: ar.ID,
CoverArtID: ar.CoverArtID,
Name: ar.Name,
Secondary: fmt.Sprintf("%d %s", ar.AlbumCount, albums),
Secondary: []string{fmt.Sprintf("%d %s", ar.AlbumCount, albums)},
})
}
return model